File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 deploy :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v3
14-
15- # deploy the collection first, because if it fails, we don't want
16- # to update the galaxy.yml
17- - name : Deploy the collection
18- uses : artis3n/ansible_galaxy_collection@v2
19- with :
20- api_key : ${{ secrets.GALAXY_API_KEY }}
21- galaxy_version : ${{ github.event.release.tag_name }}
22-
23- # checkout master instead of the release-tag so we can push the galaxy.yml
24- - uses : actions/checkout@v3
25- with :
26- ref : master
27-
28- - name : update galaxy.yml with new version
29- uses : microsoft/variable-substitution@v1
30- with :
31- files : ' galaxy.yml'
32- env :
33- version : " ${{ github.event.release.tag_name }}"
34-
35- - name : push galaxy.yml
36- uses : github-actions-x/commit@v2.9
37- with :
38- github-token : ${{ secrets.GITHUB_TOKEN }}
39- push-branch : ' master'
40- commit-message : ' update galaxy.yml with new version'
41- force-add : ' true'
42- files : galaxy.yml
43- name : T-Systems MMS
44- email : frage@t-systems-mms.com
11+ uses : T-Systems-MMS/.github/.github/workflows/ansible-galaxy-publish.yml@main
You can’t perform that action at this time.
0 commit comments