Skip to content
Snippets Groups Projects
Unverified Commit 74af6fe3 authored by paulfantom's avatar paulfantom
Browse files

publish role to ansible-galaxy

parent b169a41b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -99,4 +105,12 @@ workflows:
filters:
branches:
only: master
- galaxy:
context: galaxy
requires:
- test
- release
filters:
branches:
only: master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment