diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 29a1d93..02e6950 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -23,4 +23,4 @@ jobs: - name: Build & Deploy run: | - npm run go + cd frontend && npm install && npm run build && npm run deploy diff --git a/frontend/package.json b/frontend/package.json index b62cb63..15021d6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -17,7 +17,7 @@ "build.preview": "vite build --ssr src/entry.preview.tsx", "build.server": "vite build -c adapters/cloudflare-pages/vite.config.ts", "build.types": "tsc --incremental --noEmit", - "deploy": "wrangler pages deploy ./dist --account-id ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}", + "deploy": "wrangler pages deploy ./dist", "dev": "vite --mode ssr", "dev.debug": "node --inspect-brk ./node_modules/vite/bin/vite.js --mode ssr --force", "fmt": "prettier --write .", diff --git a/frontend/wrangler.toml b/frontend/wrangler.toml deleted file mode 100644 index eef31f8..0000000 --- a/frontend/wrangler.toml +++ /dev/null @@ -1,3 +0,0 @@ -name = "ksp-community" -account_id = "7cd6f4f1634c851f1ede86e207717991" -pages_build_output_dir = "frontend/dist"