Skip to content

Commit

Permalink
chore(ci): optimize for workflow testing
Browse files Browse the repository at this point in the history
  • Loading branch information
krisantrobus committed Oct 10, 2024
1 parent e0364a9 commit a080141
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/on_merge_to_main_supabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
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
12 changes: 6 additions & 6 deletions .github/workflows/update_docs_embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ jobs:
- 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

0 comments on commit a080141

Please sign in to comment.