Skip to content

Commit

Permalink
Use built-in ansible-galaxy on runner
Browse files Browse the repository at this point in the history
  • Loading branch information
t2d committed Oct 31, 2023
1 parent c720eca commit 7751010
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ansible-galaxy-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ jobs:
- name: 'Checkout git repo'
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
fetch-tags: true

- name: 'Release on galaxy'
uses: ansible-actions/[email protected]
with:
galaxy_api_key: ${{ secrets.galaxy-token }}
run: >-
ansible-galaxy role import --api-key ${{ secrets.galaxy-token }}
$(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)

0 comments on commit 7751010

Please sign in to comment.