diff --git a/.github/workflows/deploy-pr.yml b/.github/workflows/deploy-pr.yml
index 8b25a35fc..3b360f572 100644
--- a/.github/workflows/deploy-pr.yml
+++ b/.github/workflows/deploy-pr.yml
@@ -99,16 +99,6 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
- - name: Get PR last commit SHA
- run: |
- PR_DATA=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
- -H "Accept: application/vnd.github.v3+json" \
- "https://api.github.com/repos/${{ github.repository }}/pulls/${{ needs.build.outputs.pr_number }}")
- LAST_COMMIT_SHA=$(echo "$PR_DATA" | jq -r .head.sha)
- echo "LAST_COMMIT_SHA=$LAST_COMMIT_SHA" >> $GITHUB_ENV
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- name: Comment PR
run: |
PREVIEW_URL=${{ needs.build.outputs.url }}
@@ -123,7 +113,7 @@ jobs:
STATUS_MESSAGE="Build failed!"
fi
- COMMENT_BODY="Deploying with ⚡ Cloudflare Pages
"
+ COMMENT_BODY="Deploying with ⚡ Cloudflare Pages
"
ESCAPED_BODY=$(echo "$COMMENT_BODY" | jq -aRs .)
COMMENTS_URL="https://api.github.com/repos/${{ github.repository }}/issues/${{ needs.build.outputs.pr_number }}/comments"