5151 id : verify
5252 uses : ' ./.github/actions/check-prerequisites-and-locate-build-artifact'
5353 with :
54- github-token : ${{ secrets.GITHUB_TOKEN }}
54+ github-token : ${{ github.token }}
5555 sha : ${{ steps.context.outputs.sha }}
5656 trigger-event : ${{ steps.context.outputs.trigger_event }}
5757 head-branch : ${{ steps.context.outputs.head_branch }}
@@ -67,22 +67,22 @@ jobs:
6767 if : steps.verify.outputs.should_deploy == 'true'
6868 uses : ' ./.github/actions/download-build-artifact'
6969 with :
70- github-token : ${{ secrets.GITHUB_TOKEN }}
70+ github-token : ${{ github.token }}
7171 artifact-download-url : ${{ steps.verify.outputs.artifact_download_url }}
7272
7373 - name : Create GitHub deployment (production)
7474 if : steps.verify.outputs.should_deploy == 'true'
7575 id : gh_deploy
7676 uses : ' ./.github/actions/create-github-deployment-production'
7777 with :
78- github-token : ${{ secrets.GITHUB_TOKEN }}
78+ github-token : ${{ github.token }}
7979 sha : ${{ steps.context.outputs.sha }}
8080
8181 - name : Mark deployment in progress
8282 if : steps.verify.outputs.should_deploy == 'true'
8383 uses : ' ./.github/actions/mark-deployment-in-progress'
8484 with :
85- github-token : ${{ secrets.GITHUB_TOKEN }}
85+ github-token : ${{ github.token }}
8686 deployment-id : ${{ steps.gh_deploy.outputs.deployment_id }}
8787 description : Deploying to Vercel (production)
8888
@@ -105,7 +105,7 @@ jobs:
105105 if : steps.verify.outputs.should_deploy == 'true'
106106 uses : ' ./.github/actions/update-deployment-status'
107107 with :
108- github-token : ${{ secrets.GITHUB_TOKEN }}
108+ github-token : ${{ github.token }}
109109 deployment-id : ${{ steps.gh_deploy.outputs.deployment_id }}
110110 exit-code : ${{ steps.vercel.outputs.exit_code }}
111111 environment-url : ${{ steps.vercel.outputs.deploy_url }}
0 commit comments