fix ci
This commit is contained in:
4
.github/workflows/deploy-1000h-portal.yml
vendored
4
.github/workflows/deploy-1000h-portal.yml
vendored
@@ -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"
|
||||
|
||||
@@ -4,5 +4,9 @@ type = "webpack"
|
||||
workers_dev = false
|
||||
compatibility_date = "2023-03-23"
|
||||
|
||||
routes = [
|
||||
"1000h.org/*",
|
||||
]
|
||||
|
||||
[site]
|
||||
bucket = "./.output/public"
|
||||
Reference in New Issue
Block a user