diff --git a/.github/workflows/ansible-galaxy.yml b/.github/workflows/ansible-galaxy.yml new file mode 100644 index 0000000..b641e85 --- /dev/null +++ b/.github/workflows/ansible-galaxy.yml @@ -0,0 +1,20 @@ +--- +name: Release to Ansible Galaxy + +on: + push: + tags: + - "v*" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Release Ansible Role to Galaxy + uses: hspaans/ansible-galaxy-action@v0.1.3 + with: + api_key: ${{ secrets.galaxy_api_key }}