Skip to content

Commit

Permalink
chore(ci): test for prod supabase CI
Browse files Browse the repository at this point in the history
  • Loading branch information
krisantrobus committed Oct 10, 2024
1 parent fbdbad6 commit e0364a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/on_merge_to_main_supabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

jobs:
deploy:
if: ${{ false }}
runs-on: ubuntu-latest

env:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/update_docs_embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,15 @@ jobs:
if: steps.yarn_cache_id.outputs.cache-hit != 'true' || steps.node_modules_cache_id.outputs.cache-hit != 'true'
run: yarn install --immutable

# - name: Link Supabase project
# run: yarn workspace @twilio-paste/backend supabase link --project-ref $PROJECT_ID
- uses: supabase/setup-cli@v1
with:
version: latest

- name: Link Supabase project
run: yarn workspace @twilio-paste/backend supabase link --project-ref $PROJECT_ID

# - name: Run migrations
# run: yarn workspace @twilio-paste/backend supabase db push
- name: Run migrations
run: yarn workspace @twilio-paste/backend supabase db push

- name: Update embeddings
if: ${{ !inputs.refresh }}
Expand Down

0 comments on commit e0364a9

Please sign in to comment.