Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
publish role to ansible-galaxy
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Dec 5, 2020
1 parent b169a41 commit 74af6fe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ jobs:
-n ${GIT_TAG} \
-b "$(sed -n -e '/## \[0.22.0\]/,/## \[/ p' CHANGELOG.md | sed -e '$ d')" \
${GIT_TAG} ./artifacts/ # We don't have artifacts but ghr still needs sth
galaxy:
executor: python
steps:
- checkout
- run: pip install ansible
- run: ansible-galaxy role import --token "${GALAXY_TOKEN}" "${CIRCLE_PROJECT_USERNAME}" "${CIRCLE_PROJECT_REPONAME}"

workflows:
version: 2
Expand All @@ -99,4 +105,12 @@ workflows:
filters:
branches:
only: master
- galaxy:
context: galaxy
requires:
- test
- release
filters:
branches:
only: master

0 comments on commit 74af6fe

Please sign in to comment.