Skip to content

Commit 1ca4dba

Browse files
fix(ci): route migration workflow through guarded migrate.ts
1 parent 6e98ef4 commit 1ca4dba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/migrations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
working-directory: ./packages/db
4040
env:
4141
DATABASE_URL: ${{ github.ref == 'refs/heads/main' && secrets.DATABASE_URL || github.ref == 'refs/heads/dev' && secrets.DEV_DATABASE_URL || secrets.STAGING_DATABASE_URL }}
42-
run: bunx drizzle-kit migrate --config=./drizzle.config.ts
42+
run: bun run ./scripts/migrate.ts

0 commit comments

Comments
 (0)