Update .github/workflows/CI.yml
This commit is contained in:
3
.github/workflows/CI.yml
vendored
3
.github/workflows/CI.yml
vendored
@ -113,6 +113,7 @@ jobs:
|
||||
|
||||
- name: Auto Execute a Workflow
|
||||
run: |
|
||||
echo "URL: http://10.10.11.26:8090/api/v1/repos/${{ github.repository.owner.login }}/${{ github.repository.name }}/actions/workflows/CD.yml/dispatches"
|
||||
curl -X 'POST' \
|
||||
'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' \
|
||||
@ -121,6 +122,8 @@ jobs:
|
||||
-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
|
||||
with:
|
||||
debug: true
|
||||
# - name: Auto Deploy (Dev)
|
||||
## if: ${{ contains(github.ref, 'develop') and env.AUTO_DEPLOY_DEV == 'true' }}
|
||||
# id: auto-deploy-dev
|
||||
|
Reference in New Issue
Block a user