This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
name: Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: deploy
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: 12
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 26
|
||||||
|
cache: pnpm
|
||||||
|
|
||||||
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
- run: pnpm build
|
||||||
|
|
||||||
|
- run: pnpm exec wrangler deploy
|
||||||
|
env:
|
||||||
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
@@ -43,3 +43,6 @@ next-env.d.ts
|
|||||||
|
|
||||||
#Ignore vscode AI rules
|
#Ignore vscode AI rules
|
||||||
.github/instructions/codacy.instructions.md
|
.github/instructions/codacy.instructions.md
|
||||||
|
|
||||||
|
# wrangler
|
||||||
|
.wrangler
|
||||||
|
|||||||
+2
-1
@@ -28,7 +28,8 @@
|
|||||||
"eslint-config-next": "16.3.6",
|
"eslint-config-next": "16.3.6",
|
||||||
"postcss": "^8",
|
"postcss": "^8",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
"typescript": "^5"
|
"typescript": "^5",
|
||||||
|
"wrangler": "^4.142.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@12.4.2"
|
"packageManager": "pnpm@12.4.2"
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+831
-3
File diff suppressed because it is too large
Load Diff
@@ -1,2 +1,4 @@
|
|||||||
allowBuilds:
|
allowBuilds:
|
||||||
|
esbuild: true
|
||||||
sharp: false
|
sharp: false
|
||||||
|
workerd: true
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"$schema": "node_modules/wrangler/config-schema.json",
|
||||||
|
"name": "woiken-website",
|
||||||
|
"compatibility_date": "2026-09-28",
|
||||||
|
"assets": {
|
||||||
|
"directory": "./out",
|
||||||
|
"not_found_handling": "404-page"
|
||||||
|
},
|
||||||
|
"routes": [{ "pattern": "woiken.com", "custom_domain": true }]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user