Skip to content

Commit

Permalink
ci(web): 🔥 fix web ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
willin committed Dec 28, 2023
1 parent 380ed11 commit b410469
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: publish --config wrangler.toml
command: deploy --config wrangler.toml
workingDirectory: apps/sso
# secrets: |
# AFDIAN_CLIENT_ID
Expand Down Expand Up @@ -68,6 +68,6 @@ jobs:
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: publish --config apps/website/wrangler.toml
command: deploy --config apps/website/wrangler.toml
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
2 changes: 1 addition & 1 deletion apps/website/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ routes = [
{ pattern = "sso.v0.md", custom_domain = true }
]
site = { bucket = "./.cloudflare/public" }
build = { command = "npm run build" }
# build = { command = "npm run build" }

[env.dev]
workers_dev = true

0 comments on commit b410469

Please sign in to comment.