File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3737 uses : zerodaycode/app-summoners-sync/.github/workflows/generate-token.yml@develop
3838 secrets : inherit
3939
40-
4140 notify-user :
4241 needs : [parse-command, generate-token]
4342 uses : zerodaycode/app-summoners-sync/.github/workflows/notify-user.yml@develop
5352 with :
5453 project : ${{ needs.parse-command.outputs.project }}
5554 environment : ${{ needs.parse-command.outputs.environment }}
56- token : ${{ needs.generate-token.outputs.token }}
55+ secrets :
56+ zdctoken : ${{ needs.generate-token.outputs.zdctoken }}
5757
5858 deploy-infra :
5959 needs : [parse-command, notify-user]
Original file line number Diff line number Diff line change 99 environment :
1010 required : true
1111 type : string
12- token :
12+ zdctoken :
1313 required : true
1414 type : string
1515
2020 - name : Trigger Deployment Workflow
2121 uses : actions/github-script@v7
2222 with :
23- github-token : ${{ inputs.token }}
23+ github-token : ${{ inputs.zdctoken }}
2424 script : |
2525 const environment = `"${{ inputs.environment }}"`;
2626 const project = `"${{ inputs.project }}"`;
Original file line number Diff line number Diff line change 77 generate-token :
88 runs-on : ubuntu-latest
99 outputs :
10- token : ${{ steps.generate-zdc-token.outputs.token }}
10+ zdctoken : ${{ steps.generate-zdc-token.outputs.token }}
1111 steps :
1212 - name : Generate GitHub App Token
1313 uses : actions/create-github-app-token@v1
1919
2020 - name : Debug Generated Token
2121 run : |
22- echo "Generated Token: ${{ steps.generate-zdc-token.outputs.token }}"
22+ echo "Generated Token: ${{ steps.generate-zdc-token.outputs.token }}"
You can’t perform that action at this time.
0 commit comments