Skip to content

Commit

Permalink
Fix release action (#8)
Browse files Browse the repository at this point in the history
* fix release action

* fix yaml lint
  • Loading branch information
obvionaoe authored May 13, 2024
1 parent 5afd142 commit 8acc9b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ jobs:

- name: Trigger a new import on Galaxy.
run: >-
ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }}
$(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
ansible-galaxy role import --token ${{ secrets.ANSIBLE_GALAXY_TOKEN }} --branch ${{ github.ref_name }} ${{ github.repository_owner }} ${{ github.event.repository.name }}
- name: Release
uses: softprops/action-gh-release@v2
1 change: 1 addition & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
ignore: |
.github/*.yml
.github/workflows/*.yml

0 comments on commit 8acc9b6

Please sign in to comment.