File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main
77 paths :
8- - ' apps/web-roo-code/**'
8+ - " apps/web-roo-code/**"
99 workflow_dispatch :
1010
1111env :
@@ -21,11 +21,11 @@ jobs:
2121 - name : Check if VERCEL_TOKEN exists
2222 id : check
2323 run : |
24- if [ -n "${{ secrets.VERCEL_TOKEN }}" ]; then
25- echo "has-vercel-token=true" >> $GITHUB_OUTPUT
26- else
27- echo "has-vercel-token=false" >> $GITHUB_OUTPUT
28- fi
24+ if [ -n "${{ secrets.VERCEL_TOKEN }}" ]; then
25+ echo "has-vercel-token=true" >> $GITHUB_OUTPUT
26+ else
27+ echo "has-vercel-token=false" >> $GITHUB_OUTPUT
28+ fi
2929
3030 deploy :
3131 runs-on : ubuntu-latest
3636 uses : actions/checkout@v4
3737 - name : Setup Node.js and pnpm
3838 uses : ./.github/actions/setup-node-pnpm
39+ - name : Migrate evals database
40+ run : pnpm db:migrate:production
41+ working-directory : packages/evals
42+ env :
43+ DATABASE_URL : ${{ secrets.EVALS_DATABASE_URL }}
3944 - name : Install Vercel CLI
4045 run : npm install --global vercel@canary
4146 - name : Pull Vercel Environment Information
Original file line number Diff line number Diff line change 1515 "drizzle-kit:production" : " dotenvx run -f .env.production -- tsx node_modules/drizzle-kit/bin.cjs" ,
1616 "db:generate" : " pnpm drizzle-kit generate" ,
1717 "db:migrate" : " pnpm drizzle-kit migrate" ,
18- "db:push" : " pnpm drizzle-kit push" ,
19- "db:test:push" : " pnpm drizzle-kit:test push" ,
20- "db:production:push" : " pnpm drizzle-kit:production push" ,
18+ "db:migrate:production" : " pnpm drizzle-kit:production migrate" ,
19+ "db:push:test" : " pnpm drizzle-kit:test push" ,
2120 "db:up" : " dotenvx run -f .env.development .env.local -- docker compose up -d db" ,
2221 "db:down" : " dotenvx run -f .env.development .env.local -- docker compose down db" ,
2322 "redis:up" : " dotenvx run -f .env.development .env.local -- docker compose up -d redis" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments