mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-07-13 02:53:45 +00:00
build(*): Enable running db migrations in build
This commit is contained in:
+8
-2
@@ -1,3 +1,9 @@
|
||||
[build]
|
||||
command = "npm run build"
|
||||
publish = "build"
|
||||
command = "npm ci && ./node_modules/.bin/supabase link --project-ref $SUPABASE_PROJECT_REF && ./node_modules/.bin/supabase db push && npm run build"
|
||||
publish = "build"
|
||||
|
||||
[build.environment]
|
||||
NODE_VERSION = "22"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "npm ci && npm run build"
|
||||
|
||||
Reference in New Issue
Block a user