From fcc20fc2e07141c2a9264388f008c46af1d9e367 Mon Sep 17 00:00:00 2001 From: goddonebianu Date: Tue, 2 Dec 2025 20:37:50 +0800 Subject: [PATCH] ... --- .drone.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone.yml b/.drone.yml index 3a2bf67..9098e43 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,15 @@ steps: registry: registry.edian-studio.com tags: - latest + + - name: database migrate + image: node:23-alpine + environment: + DATABASE_URL: + from_secret: database_url + commands: + - npm install prisma + - npx prisma migrate deploy - name: deploy image: appleboy/drone-ssh