Edit .onedev-buildspec.yml
This commit is contained in:
parent
181826cceb
commit
19917b1ff5
|
|
@ -35,7 +35,9 @@ jobs:
|
||||||
runInContainer: false
|
runInContainer: false
|
||||||
interpreter: !DefaultInterpreter
|
interpreter: !DefaultInterpreter
|
||||||
commands: |
|
commands: |
|
||||||
|
cd /www/wwwroot/moviebox
|
||||||
npm run build
|
npm run build
|
||||||
|
pm2 delete moviebox
|
||||||
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