diff --git a/.github/workflows/public-galaxy.yml b/.github/workflows/public-galaxy.yml new file mode 100644 index 0000000..c825783 --- /dev/null +++ b/.github/workflows/public-galaxy.yml @@ -0,0 +1,19 @@ +name: Public to Ansible Galaxy + +on: + push: + branches: [ "role" ] + tags: + - '*' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + - name: Publish Ansible role to Galaxy + uses: itdoginfo/galaxy-action@1.2.1 + with: + galaxy_api_key: ${{ secrets.galaxy_api_key }} + git_branch: role