Skip to content

Commit 30fb052

Browse files
committed
Use only pages deploy
1 parent 7f772f7 commit 30fb052

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.github/workflows/prod-deploy.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ jobs:
4343

4444
- name: Build
4545
run: pnpm run build
46-
47-
- name: Deploy worker
48-
uses: cloudflare/wrangler-action@v3
49-
with:
50-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
5146

52-
- name: Deploy pages
53-
uses: cloudflare/wrangler-action@v3
54-
with:
55-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
56-
command: pages deploy ./build/client --project-name=math-rock-stack
47+
- name: Deploy
48+
run: pnpm exec wrangler pages deploy

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"db:migrate:apply:local": "dotenvx run -- sh scripts/db-migrate.sh",
1515
"db:migrate:apply:prod": "dotenvx run -- sh scripts/db-migrate-prod.sh",
1616
"db:studio:local": "LOCAL_DB_PATH=$(find .wrangler/state/v3/d1/miniflare-D1DatabaseObject -type f -name '*.sqlite' -print -quit) drizzle-kit studio",
17-
"db:sync": "dotenvx run -- sh scripts/db-sync.sh",
18-
"wrangler": "wrangler"
17+
"db:sync": "dotenvx run -- sh scripts/db-sync.sh"
1918
},
2019
"keywords": [],
2120
"author": "",

0 commit comments

Comments
 (0)