mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
chore(embeddings): github action migrations
This commit is contained in:
1 parent
030ef17bf1
commit
db8201daf3
1 file changed
+5
-1
@@ -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
|
||||
Reference in new issue
Block a user