We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50b9e57 commit ad24db9Copy full SHA for ad24db9
.github/workflows/deploy.yml
@@ -18,6 +18,12 @@ jobs:
18
- name: Install dependencies
19
run: cd worker && npm install
20
21
+ - name: Migrate D1 (schema.sql)
22
+ run: cd worker && npx wrangler d1 execute basemail-db --file=src/db/schema.sql
23
+ env:
24
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
25
+ CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
26
+
27
- name: Deploy Worker
28
run: cd worker && npx wrangler deploy
29
env:
0 commit comments