Skip to content

chore: update files #56

chore: update files

chore: update files #56

Workflow file for this run

---
name: Migrate DB
"on":
push:
branches: main
jobs:
migrate:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
cache: npm
- run: npm ci
- run: npm run db:migrate:prod
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
DIRECT_URL: ${{ secrets.DIRECT_URL }}