Skip to content

Commit

Permalink
chore: Migration on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxiao committed Nov 14, 2023
1 parent 5c2eb95 commit fa69df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"build": "run-s build:*",
"build:migration": "if [ \"$VERCEL_ENV\" = production ] || [ \"$VERCEL_GIT_COMMIT_REF\" = staging ]; then pnpm --dir ../../ migration up; else echo 'Skip non prod/staging migration'; fi",
"build:migration": "if [ \"$VERCEL_ENV\" = production ] || [ \"$VERCEL_GIT_COMMIT_REF\" = main ]; then pnpm --dir ../../ migration up; else echo 'Skip non prod/staging migration'; fi",
"build:next": "next build",
"codegen:sdk": "openapi-typescript http://localhost:3000/api/v0 --output ./sdk/venice.gen.ts",
"codegen:supabase": "supabase gen types typescript --linked --schema public > ./supabase/supabase.gen.ts",
Expand Down

0 comments on commit fa69df5

Please sign in to comment.