Migrate fix #47
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: Create Supabase Table | |
on: | |
push: | |
branches: | |
- test_table_script | |
jobs: | |
create-supabase-table: | |
runs-on: ubuntu-latest | |
env: | |
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }} | |
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }} | |
PROJECT_ID: oecrkeanazdxowjcpjqr | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
- name: Set up Supabase CLI | |
uses: supabase/setup-cli@v1 | |
with: | |
version: latest | |
- name: Init | |
run: supabase init | |
- name: Configure Supabase | |
run: supabase link --project-ref $PROJECT_ID | |
- name: Supabase Migration | |
run: supabase migration up | |