Skip to content

Commit 9487da2

Browse files
committed
fix: added compatibility url
1 parent 8064743 commit 9487da2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ jobs:
4545
- name: Deploy to Cloudflare Pages
4646
uses: cloudflare/wrangler-action@v3
4747
with:
48-
command: pages deploy build --project-name ${{ needs.get-env.outputs.project-name }}
48+
command: pages deploy build --project-name ${{ needs.get-env.outputs.project-name }} --compatibility-date 2024-12-30
4949
apiToken: ${{ secrets.CF_WORKER_API_TOKEN }}
5050
accountId: ${{ secrets.CF_WORKER_ACCOUNT_ID }}

wrangler.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ preview_urls = false
55
send_metrics = false
66
workers_dev = false
77

8+
# Pages configuration
9+
pages_build_output_dir = "build"
10+
811
# Static assets only - no worker needed
912
[assets]
1013
directory = "build"

0 commit comments

Comments
 (0)