File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ jobs:
6161 with :
6262 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
6363 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
64- command : pages deploy dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} --branch ${{ github.head_ref }} --commit-dirty=true
64+ command : pages deploy dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} --branch ${{ github.event.pull_request.head.sha }} --commit-dirty=true
6565
6666 - name : Add deployment comment
6767 uses : thollander/actions-comment-pull-request@v3
6868 with :
6969 message : |
70- Preview URL: ${{ steps.deploy.outputs.deployment-url }}
70+ Preview URL: ${{ steps.deploy.outputs.pages- deployment-alias -url }}
7171 reactions : eyes, rocket
7272 comment-tag : ' Preview URL'
7373 mode : recreate
You can’t perform that action at this time.
0 commit comments