Skip to content

Commit 55d50ee

Browse files
paoloanznclaude
andcommitted
feat: add GitHub Actions CI/CD for Cloudflare deployment
Add deploy.yml workflow that builds and deploys the site to Cloudflare Workers on every push to main. Update .gitignore to exclude sensitive files, .claude config, and draft artifacts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f4f3e9b commit 55d50ee

File tree

4 files changed

+38
-1092
lines changed

4 files changed

+38
-1092
lines changed

.claude/launch.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy to Cloudflare
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: "20"
18+
cache: "npm"
19+
20+
- run: npm ci
21+
22+
- run: npm run build
23+
24+
- run: npx wrangler deploy
25+
env:
26+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,15 @@ dist-ssr
2222
*.njsproj
2323
*.sln
2424
*.sw?
25+
26+
# Secrets / env
27+
.env
28+
.env.*
29+
credentials.json
30+
31+
# Claude
32+
.claude/
33+
34+
# Drafts / reference files
35+
gladium-ai.html
36+
public/Frame*

0 commit comments

Comments
 (0)