Edit .onedev-buildspec.yml
This commit is contained in:
parent
920f9eca0e
commit
fbf74427c4
|
|
@ -36,9 +36,8 @@ jobs:
|
|||
interpreter: !DefaultInterpreter
|
||||
commands: |
|
||||
cd /www/wwwroot/moviebox
|
||||
rm -rf ./.next
|
||||
npm run build
|
||||
pm2 delete moviebox
|
||||
npm run build
|
||||
pm2 start "npm start -- -p 3010" --name moviebox
|
||||
useTTY: true
|
||||
condition: SUCCESSFUL
|
||||
|
|
|
|||
Loading…
Reference in New Issue