File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 5252 with :
5353 project : ${{ needs.parse-command.outputs.project }}
5454 environment : ${{ needs.parse-command.outputs.environment }}
55- secrets :
56- zdc_token : ${{ needs.generate-token.outputs.token }}
55+ token : ${{ needs.generate-token.outputs.token }}
5756
5857 deploy-infra :
5958 needs : [parse-command, notify-user]
Original file line number Diff line number Diff line change 99 environment :
1010 required : true
1111 type : string
12- secrets :
13- zdc_token :
12+ token :
1413 required : true
14+ type : string
1515
1616jobs :
1717 deploy_project_artifact :
2020 - name : Trigger Deployment Workflow
2121 uses : actions/github-script@v7
2222 with :
23- github-token : ${{ secrets.zdc_token }}
23+ github-token : ${{ inputs.token || github.token }}
2424 script : |
2525 const environment = `"${{ inputs.environment }}"`;
2626 const project = `"${{ inputs.project }}"`;
You can’t perform that action at this time.
0 commit comments