Skip to content

Commit 5c05762

Browse files
authored
Revert "Migrate evals database when deploying roo-code-website" (#6525)
1 parent c6e7ac4 commit 5c05762

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

.github/workflows/website-deploy.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- "apps/web-roo-code/**"
8+
- 'apps/web-roo-code/**'
99
workflow_dispatch:
1010

1111
env:
@@ -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
@@ -36,11 +36,6 @@ jobs:
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 }}
4439
- name: Install Vercel CLI
4540
run: npm install --global vercel@canary
4641
- name: Pull Vercel Environment Information

packages/evals/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
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:migrate:production": "pnpm drizzle-kit:production migrate",
19-
"db:push:test": "pnpm drizzle-kit:test push",
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",
2021
"db:up": "dotenvx run -f .env.development .env.local -- docker compose up -d db",
2122
"db:down": "dotenvx run -f .env.development .env.local -- docker compose down db",
2223
"redis:up": "dotenvx run -f .env.development .env.local -- docker compose up -d redis",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "runs" ADD COLUMN "timeout" integer DEFAULT 5 NOT NULL;

0 commit comments

Comments
 (0)