We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9cfe6 commit 42ad93cCopy full SHA for 42ad93c
.github/workflows/deploy-preview.yml
@@ -32,9 +32,18 @@ jobs:
32
- run: yarn install
33
- run: yarn build
34
35
- - name: Deploy
+ - name: Deploy to Cloudflare
36
+ id: deploy
37
uses: cloudflare/wrangler-action@v3
38
with:
39
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
40
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
- command: pages deploy src/dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }}
41
+ command: pages deploy src/dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} --commit-dirty=true
42
+
43
+ - name: Add deployment comment
44
+ uses: thollander/actions-comment-pull-request@v3
45
+ with:
46
+ message: |
47
+ Preview URL: ${{ steps.deploy.outputs.deployment-url }}
48
+ reactions: eyes, rocket
49
+ only-update: true
0 commit comments