Skip to content

Commit

Permalink
chore: fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
sugar-cat7 committed Jan 30, 2025
1 parent eff37d1 commit ccd72dd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/deploy-server-workers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ jobs:
strategy:
matrix:
include:
# - config: "api-gateway.wrangler.toml"
# name: "vspo-portal-api-gateway"
- config: "internal-app.wrangler.toml"
name: "vspo-portal-internal-app"
- config: "cron.wrangler.toml"
name: "vspo-portal-cron"
- name: "internal-app"
- name: "cron"
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
Expand All @@ -35,8 +31,9 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
packageManager: pnpm
workingDirectory: service/server
command: deploy --name ${{ matrix.name }} --config ${{ matrix.config }}
workingDirectory: service/server/config/wrangler/${{ matrix.name }}
command: deploy --config wrangler.toml
quiet: true
secrets: |
OPENAI_ORGANIZATION
OPENAI_PROJECT
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "vspo-portal-app"
compatibility_date = "2024-10-22"
send_metrics = false
compatibility_flags = ["nodejs_compat", "nodejs_als"]
main = "cmd/server/internal/application/index.ts"
main = "../../../cmd/server/internal/application/index.ts"
tail_consumers = [{ service = "api-tail" }]
logpush = true

Expand Down

0 comments on commit ccd72dd

Please sign in to comment.