We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bce84f commit 6d2a853Copy full SHA for 6d2a853
.github/workflows/deploy.yml
@@ -29,18 +29,7 @@ jobs:
29
env:
30
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
31
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
32
- run: |
33
- for migration in migrations/*.sql; do
34
- if [ -f "$migration" ]; then
35
- echo "::group::Migration: $migration"
36
- if wrangler d1 execute openboot --remote --file="$migration" 2>&1; then
37
- echo "Migration applied successfully"
38
- else
39
- echo "Migration skipped (already applied or error)"
40
- fi
41
- echo "::endgroup::"
42
43
- done
+ run: wrangler d1 migrations apply openboot --remote
44
45
- name: Deploy
46
uses: cloudflare/wrangler-action@v3
0 commit comments