File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,22 +6,9 @@ on: # yamllint disable-line rule:truthy
66 types : [published]
77
88jobs :
9- release_ah :
10- runs-on : ubuntu-latest
11- environment : ah
12- steps :
13- - uses : actions/checkout@v3
14-
15- - name : " Publish collection on ah"
16- run : |
17- ansible-galaxy collection build -v --force
18- TARBALL=$(ls -1 ./*.tar.gz)
19- cat << EOF > ansible.cfg
20- [galaxy]
21- server_list = rh_automation_hub
22- [galaxy_server.rh_automation_hub]
23- url=https://cloud.redhat.com/api/automation-hub/
24- auth_url=https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token
25- token=${{ secrets.AH_TOKEN }}
26- EOF
27- ansible-galaxy collection publish "${TARBALL}"
9+ release_automation_hub :
10+ uses : ansible/devtools/.github/workflows/release_ah.yml@main
11+ with :
12+ environment : ah
13+ secrets :
14+ ah_token : ${{ secrets.AH_TOKEN }}
You can’t perform that action at this time.
0 commit comments