There was an error while loading. Please reload this page.
1 parent 559ede8 commit de9f482Copy full SHA for de9f482
1 file changed
.github/workflows/deploy.yml
@@ -50,7 +50,7 @@ jobs:
50
DB_ID: ${{ secrets.CLOUDFLARE_D1_DATABASE_ID }}
51
run: |
52
# Use jq to update the database_id inside the d1_databases array
53
- jq '.d1_databases[0].database_id = env.DB_ID' wrangler.jsonc > wrangler.json.tmp
+ npx strip-json-comments-cli wrangler.jsonc | jq '.d1_databases[0].database_id = env.DB_ID' wrangler.jsonc > wrangler.json.tmp
54
55
# Replace the old file with the newly updated one
56
mv wrangler.json.tmp wrangler.jsonc
0 commit comments