This commit is contained in:
Lyric
2025-11-25 16:03:30 +09:00
parent cadb8284a7
commit 8f82d87b61
2 changed files with 6 additions and 4 deletions

View File

@@ -43,13 +43,11 @@ jobs:
- name: Build
run: yarn portal:generate
- name: Install Wrangler manually (workaround)
run: npm install -g wrangler@3.81.0
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_BASEONE_API_TOKEN }}
preCommands: npm install @cloudflare/kv-asset-handler
accountId: ${{ secrets.CF_BASEONE_ACCOUNT_ID }}
command: deploy
workingDirectory: "1000h-portal"

View File

@@ -4,5 +4,9 @@ type = "webpack"
workers_dev = false
compatibility_date = "2023-03-23"
routes = [
"1000h.org/*",
]
[site]
bucket = "./.output/public"
bucket = "./.output/public"