From d387cd910b541006ce7162b5452e90ade91dfba2 Mon Sep 17 00:00:00 2001 From: elreydetoda <2417550-elreydetoda@users.noreply.gitlab.com> Date: Fri, 29 Dec 2023 02:28:05 +0000 Subject: [PATCH] adding action to publish releases --- .github/workflows/deploy.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..299e683 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,20 @@ +name: Ansible Galaxy + +on: + push: + branches: + - main + - master + tags: + - '*' + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Deploy the collection + uses: artis3n/ansible_galaxy_collection@v2 + with: + api_key: ${{ secrets.GALAXY_API_KEY }} \ No newline at end of file