File tree Expand file tree Collapse file tree 1 file changed +7
-23
lines changed
Expand file tree Collapse file tree 1 file changed +7
-23
lines changed Original file line number Diff line number Diff line change @@ -52,30 +52,14 @@ jobs:
5252 fail_on_unmatched_files : true
5353 generate_release_notes : true
5454
55- publish-to-galaxy :
55+ publish :
5656 needs : release
57- runs-on : ubuntu-latest
58- steps :
59- - uses : actions/checkout@v4
60- - name : Publish to Ansible Galaxy 🌌
61- uses : ansible/ansible-publish-action@v1.0.0
62- with :
63- api_key : ${{ secrets.GALAXY_API_KEY }}
64-
65- publish-to-automation-platform :
66- needs : release
67- runs-on : ubuntu-latest
68- steps :
69- - uses : actions/checkout@v4
70- - name : Publish to Ansible Automation Platform 🌌
71- uses : ansible/ansible-publish-action@v1.0.0
72- env :
73- ANSIBLE_GALAXY_SERVER_AUTOMATION_HUB_URL : https://console.redhat.com/api/automation-hub/
74- ANSIBLE_GALAXY_SERVER_AUTOMATION_HUB_AUTH_URL : https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token
75- ANSIBLE_GALAXY_SERVER_AUTOMATION_HUB_TOKEN : ${{ secrets.AUTOMATION_HUB_API_KEY }}
76- with :
77- api_key : ${{ secrets.AUTOMATION_HUB_API_KEY }}
78- api_server : automation_hub
57+ uses : ansible/ansible-content-actions/.github/workflows/release.yaml@main
58+ with :
59+ environment : release
60+ secrets :
61+ ah_token : ${{ secrets.AUTOMATION_HUB_API_KEY }}
62+ ansible_galaxy_api_key : ${{ secrets.GALAXY_API_KEY }}
7963
8064 publish-docs :
8165 needs : release
You can’t perform that action at this time.
0 commit comments