Commit 42d5e16c authored by shangbj's avatar shangbj

update

parent 07258a02
...@@ -51,7 +51,8 @@ app.all('/bjgee/update', function(req, res){ ...@@ -51,7 +51,8 @@ app.all('/bjgee/update', function(req, res){
const BJGEE_PATH = '/home/bjgee' const BJGEE_PATH = '/home/bjgee'
const commands = [ const commands = [
'cd ' + BJGEE_PATH, 'cd ' + BJGEE_PATH,
'git pull' 'git pull',
'npm run generate'
].join('&&') ].join('&&')
exec(commands, function(err,out){ exec(commands, function(err,out){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment