Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): test commit #4100

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/on_merge_to_main_supabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ on:

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

env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_PRODUCTION_DB_PASSWORD }}
SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PRODUCTION_PROJECT_ID }}
SUPABASE_URL: ${{ secrets.SUPABASE_PRODUCTION_URL }}
SUPABASE_KEY: ${{ secrets.SUPABASE_PRODUCTION_KEY }}

steps:
- name: Checkout Repo
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/update_docs_embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,20 @@ 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 }}
run: yarn generate:embeddings
# - name: Update embeddings
# if: ${{ !inputs.refresh }}
# run: yarn generate:embeddings

- name: Refresh embeddings
if: ${{ inputs.refresh }}
run: yarn generate:embeddings:refresh
# - name: Refresh embeddings
# if: ${{ inputs.refresh }}
# run: yarn generate:embeddings:refresh
Loading