chore(embeddings): github action migrations

This commit is contained in:
Greg Richardson committed 2023-04-24 13:04:51 -06:00
1 parent 030ef17bf1
commit db8201daf3
1 file changed
+5 -1
+5 -1
View File
@@ -4,8 +4,10 @@ on:
push:
branches:
- master
- feat/zero-downtime-embeddings-refresh
paths:
- 'apps/docs/**'
- 'spec/**'
workflow_dispatch:
jobs:
@@ -29,9 +31,11 @@ jobs:
node-version: 18
- name: Download dependencies
working-directory: ./apps/docs
run: npm ci
- name: Run migrations
run: npx supabase db push --project-ref $PROJECT_ID
- name: Refresh embeddings
working-directory: ./apps/docs
run: npx run embeddings