thats some cd (and local (and consistent) testing), innit #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Release to Ansible Galaxy | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| release: | |
| name: Import role to Ansible Galaxy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install ansible-core | |
| run: pip install ansible-core | |
| - name: Import role to Galaxy | |
| run: >- | |
| ansible-galaxy role import | |
| --token "${{ secrets.GALAXY_API_KEY }}" | |
| --branch "${{ github.ref_name }}" | |
| "${{ github.repository_owner }}" | |
| "${{ github.event.repository.name }}" |