Update .github/workflows/CI.yml
This commit is contained in:
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
@ -114,10 +114,10 @@ jobs:
|
||||
- name: Auto Execute a Workflow
|
||||
run: |
|
||||
curl -X 'POST' \
|
||||
'http://10.10.11.26:8090/api/v1/repos/${{ github.repository_owner }}/${{ github.repository.name }}/actions/workflows/CD.yml/dispatches' \
|
||||
'http://10.10.11.26:8090/api/v1/repos/${{ github.repository.owner.login }}/${{ github.repository.name }}/actions/workflows/CD.yml/dispatches' \
|
||||
-H 'Accept: application/json' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'Authorization: Basic ${{ echo -n "secrets.SECRET_USERNAME:secrets.SECRET_PASSWORD" | base64 }}' \
|
||||
-H 'Authorization: Basic $( echo -n "secrets.OWNER_USERNAME:secrets.OWNER_PASSWORD" | base64 )' \
|
||||
-H 'Authorization: token ${{ secrets.GHA_TOKEN }}' \
|
||||
-d '{"ref":"${{ github.ref }}","inputs":{"Version":"${{ steps.version_step.outputs.COMMIT_SHA_SHORT }}","Env":"${{ github.ref_name}}"}}'
|
||||
shell: bash
|
||||
|
Reference in New Issue
Block a user