Skip to content

Commit 0795168

Browse files
nostrapolloclaude
andcommitted
Add GitHub Actions deploy workflow for Cloudflare Pages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aa41f98 commit 0795168

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Deploy to Cloudflare Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
- run: npm ci
16+
- run: npm run build
17+
- uses: cloudflare/wrangler-action@v3
18+
with:
19+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
20+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
21+
command: pages deploy dist --project-name=verifiedsoftware-dev

0 commit comments

Comments
 (0)