Skip to content

Commit 1dff2e9

Browse files
committed
Update deploy-migrations workflow to include DIRECT_URL environment variable
- Added DIRECT_URL to the environment variables for both migration deployment and status verification steps, ensuring proper configuration for database migrations.
1 parent f995253 commit 1dff2e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy-migrations.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
run: npx prisma migrate deploy
2727
env:
2828
DATABASE_URL: ${{ secrets.DATABASE_URL }}
29+
DIRECT_URL: ${{ secrets.DIRECT_URL }}
2930

3031
- name: Verify migration status
3132
run: npx prisma migrate status
3233
env:
3334
DATABASE_URL: ${{ secrets.DATABASE_URL }}
35+
DIRECT_URL: ${{ secrets.DIRECT_URL }}

0 commit comments

Comments
 (0)