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:
61
61
with :
62
62
apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
63
63
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
65
65
66
66
- name : Add deployment comment
67
67
uses : thollander/actions-comment-pull-request@v3
68
68
with :
69
69
message : |
70
- Preview URL: ${{ steps.deploy.outputs.deployment-url }}
70
+ Preview URL: ${{ steps.deploy.outputs.pages- deployment-alias -url }}
71
71
reactions : eyes, rocket
72
72
comment-tag : ' Preview URL'
73
73
mode : recreate
You can’t perform that action at this time.
0 commit comments