From e0364a950d41c04f1ccc46de2e6e273cc15a44fb Mon Sep 17 00:00:00 2001 From: Kristian Antrobus Date: Thu, 10 Oct 2024 09:54:35 -0500 Subject: [PATCH] chore(ci): test for prod supabase CI --- .github/workflows/on_merge_to_main_supabase.yml | 1 - .github/workflows/update_docs_embed.yml | 12 ++++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/on_merge_to_main_supabase.yml b/.github/workflows/on_merge_to_main_supabase.yml index 33c534b354..06559b5727 100644 --- a/.github/workflows/on_merge_to_main_supabase.yml +++ b/.github/workflows/on_merge_to_main_supabase.yml @@ -8,7 +8,6 @@ on: jobs: deploy: - if: ${{ false }} runs-on: ubuntu-latest env: diff --git a/.github/workflows/update_docs_embed.yml b/.github/workflows/update_docs_embed.yml index 2a490f2d4e..a802286877 100644 --- a/.github/workflows/update_docs_embed.yml +++ b/.github/workflows/update_docs_embed.yml @@ -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 }}