move away from supabase auth only and use keyhippo for api key auth (… #24
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: 💾 Migrate DB | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
migrate-db: | |
name: Migrate DB | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./tools/github/setup | |
- name: Run Drizzle Migration | |
working-directory: packages/database | |
run: pnpm migrate | |
env: # Or as an environment variable | |
POSTGRES_URL: ${{ secrets.POSTGRES_URL }} |