Skip to content

Commit ea6df99

Browse files
committed
preview pages
1 parent c9e5e83 commit ea6df99

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/preview.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v6
1212

13+
- name: Create Cloudflare Pages project (if needed)
14+
uses: cloudflare/wrangler-action@v3
15+
with:
16+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
17+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
18+
command: pages project create mxmap-ch-preview --production-branch=dev
19+
continue-on-error: true
20+
1321
- name: Deploy to Cloudflare Pages
1422
uses: cloudflare/wrangler-action@v3
1523
with:

0 commit comments

Comments
 (0)