mediation update form done #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run-migrations | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
migrate: | |
name: migrate | |
runs-on: ubuntu-latest | |
env: | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
DATABASE_ONLY: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
# Run `bun` commands in the correct directory, if necessary | |
- run: bun install | |
- run: bun gen | |
- run: bun migrate |