Skip to content

Commit a7c196a

Browse files
committed
Fix Ansible Galaxy API token in automated release
Signed-off-by: Roald Nefs <info@roaldnefs.com>
1 parent 521b2ee commit a7c196a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
- name: Publish the collection
3636
run: |
3737
shopt -s extglob
38-
ansible-galaxy collection publish ./${{env.NAMESPACE}}-${{env.COLLECTION_NAME}}-${GITHUB_REF/refs\/tags\/?(v)/}.tar.gz
38+
ansible-galaxy collection publish --token "${{env.ANSIBLE_GALAXY_TOKEN}}" ./${{env.NAMESPACE}}-${{env.COLLECTION_NAME}}-${GITHUB_REF/refs\/tags\/?(v)/}.tar.gz

0 commit comments

Comments
 (0)