File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
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 :
5655 ZDC_TOKEN : ${{ needs.generate-token.outputs.ZDC_TOKEN }}
57- PASSPHRASE_ACTION_TOKEN : ${{ secrets.PASSPHRASE_ACTION_TOKEN }}
56+ secrets : inherit
5857
5958 deploy-infra :
6059 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 :
1312 ZDC_TOKEN :
1413 required : true
15- PASSPHRASE_ACTION_TOKEN :
16- required : true
14+ type : string
1715
1816jobs :
1917 deploy_project_artifact :
2220 - name : Decrypt ZDC Token
2321 id : decrypt-token
2422 run : |
25- ENCRYPTED_TOKEN="${{ secrets.ZDC_TOKEN }}"
26- DECRYPTED_TOKEN=$(echo "$ENCRYPTED_TOKEN" | base64 -d | gpg --decrypt --quiet --batch --passphrase "${{ secrets.PASSPHRASE_ACTION_TOKEN }}")
23+ DECRYPTED_TOKEN=$(echo "${{ inputs.ZDC_TOKEN }}" | base64 -d | gpg --decrypt --quiet --batch --passphrase "${{ secrets.PASSPHRASE_ACTION_TOKEN }}")
2724 echo "ZDCTOKEN=$DECRYPTED_TOKEN" >> $GITHUB_ENV
2825 echo "::add-mask::$DECRYPTED_TOKEN"
2926
You can’t perform that action at this time.
0 commit comments