Skip to content

Commit 71ad78e

Browse files
committed
update
1 parent 00c52cf commit 71ad78e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy-to-preview.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
timeout-minutes: 10
2323
environment:
2424
name: preview
25-
url: ${{ steps.deployment.outputs.page_url }}
25+
url: ${{ steps.deploy.outputs.deployment-url }}
2626
steps:
2727
- uses: actions/checkout@v4
2828
- name: Install dependencies
@@ -42,8 +42,8 @@ jobs:
4242
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
4343

4444
- name: Deploy to Cloudflare Pages
45-
uses: actions/deploy-pages@v4
45+
uses: cloudflare/wrangler-action@v3
4646
with:
47-
token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
48-
preview: true
49-
47+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
48+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
49+
command: pages deploy --branch dev

0 commit comments

Comments
 (0)