Skip to content

Commit

Permalink
chore: test github migration action
Browse files Browse the repository at this point in the history
  • Loading branch information
gaboesquivel committed Jan 29, 2024
1 parent 5fd9046 commit 9747a83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/supabase-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,18 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v2 # Ensure this is the latest version

# If your workflow requires Node.js, add a step to set up Node.js 20
- name: Set up Node.js 20
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Set up working directory
run: cd apps/supabase
- name: Download Supabase CLI
run: |
curl -L https://github.com/supabase/cli/releases/latest/download/supabase_linux_amd64 -o supabase
chmod +x supabase
- name: Run Supabase Migrations
run: |
curl -L https://github.com/supabase/cli/releases/latest/download/supabase_linux -o supabase
chmod +x supabase
./supabase link --project-ref kvdrzfyetdzigjkmgwgn --anon-key "$ANON_KEY" --service-role-key "$SERVICE_ROLE_KEY"
./supabase db push
env:
Expand Down
1 change: 0 additions & 1 deletion apps/supabase/test-migration

This file was deleted.

0 comments on commit 9747a83

Please sign in to comment.