Skip to content

Commit 363d337

Browse files
authored
Cleanup GitHub workflows (#2554)
1 parent f89b31c commit 363d337

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
5858
SENTRY_DSN: ${{ vars.SENTRY_DSN }}
5959
- id: deploy
60-
name: Publish to Cloudflare Pages (Preview)
60+
name: Deploy to Cloudflare
6161
uses: cloudflare/wrangler-action@v3
6262
with:
6363
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
@@ -80,9 +80,9 @@ jobs:
8080
DEPLOYMENT_URL: ${{ steps.deploy.outputs.url }}
8181
run: |
8282
curl -X POST \
83-
-H "Authorization: token ${{ secrets.GH_PERSONAL_TOKEN }}" \
83+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
8484
-H "Accept: application/vnd.github.v3+json" \
85-
-d '{"state": "success", "target_url": "${{ steps.deploy.outputs.url }}", "description": "GitBook Preview URL", "context": "default"}' \
85+
-d '{"state": "success", "target_url": "${{ steps.deploy.outputs.url }}", "description": "Deployed Preview URL for commit", "context": "cloudflare/preview"}' \
8686
https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }}
8787
8888
- name: Find GitHub Comment

0 commit comments

Comments
 (0)