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