Edit .onedev-buildspec.yml

This commit is contained in:
Norbert Maciaszek 2025-08-08 15:33:38 +00:00
parent ed654852cb
commit 3d9c1ce715
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ jobs:
runInContainer: false runInContainer: false
interpreter: !DefaultInterpreter interpreter: !DefaultInterpreter
commands: | commands: |
rsync -av --delete --exclude="node_modules" --exclude=".git" ./ /www/wwwroot/moviebox/ rsync -av --delete --exclude="node_modules" --exclude="config/db.sql" --exclude="drizzle" ./ /www/wwwroot/moviebox/
useTTY: true useTTY: true
condition: SUCCESSFUL condition: SUCCESSFUL
optional: false optional: false
@ -26,6 +26,8 @@ jobs:
commands: | commands: |
cd /www/wwwroot/moviebox cd /www/wwwroot/moviebox
npm install npm install
npx drizzle-kit generate
npx drizzle-kit migrate
useTTY: true useTTY: true
condition: SUCCESSFUL condition: SUCCESSFUL
optional: false optional: false