Merge pull request #157 from stackhpc/service_nm #10
Workflow file for this run
This file contains 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: Publish Ansible Role | |
'on': | |
push: | |
tags: | |
- "v?[0-9]+.[0-9]+.[0-9]+" | |
workflow_dispatch: | |
jobs: | |
galaxy: | |
runs-on: ubuntu-latest | |
name: Publish Ansible Role to Ansible Galaxy | |
steps: | |
# NOTE: The GitHub namespace is lower case, but the Galaxy namespace is upper case. | |
# Hard code to the Galaxy namespace. | |
- name: Publish Role 🚀 | |
run: ansible-galaxy import MichaelRigart $(basename ${{ github.repository }}) --api-key ${{ secrets.GALAXY_API_KEY }} --branch ${{ github.ref_name }} |