Edit .onedev-buildspec.yml
This commit is contained in:
parent
ed654852cb
commit
3d9c1ce715
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
runInContainer: false
|
||||
interpreter: !DefaultInterpreter
|
||||
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
|
||||
condition: SUCCESSFUL
|
||||
optional: false
|
||||
|
|
@ -26,6 +26,8 @@ jobs:
|
|||
commands: |
|
||||
cd /www/wwwroot/moviebox
|
||||
npm install
|
||||
npx drizzle-kit generate
|
||||
npx drizzle-kit migrate
|
||||
useTTY: true
|
||||
condition: SUCCESSFUL
|
||||
optional: false
|
||||
|
|
|
|||
Loading…
Reference in New Issue