feat: trust score history + rate limiting #7
This file contains hidden or 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 database migrations | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'supabase/migrations/**' | |
| jobs: | |
| migrate: | |
| name: Push migrations to Supabase | |
| runs-on: ubuntu-latest | |
| environment: main | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Supabase CLI | |
| uses: supabase/setup-cli@v1 | |
| with: | |
| version: latest | |
| - name: Link to Supabase project | |
| run: supabase link --project-ref ${{ secrets.SUPABASE_PROJECT_ID }} | |
| env: | |
| SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }} | |
| - name: Run migrations | |
| run: supabase db push | |
| env: | |
| SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }} |