service update with git pull
parent
c41f8d429c
commit
7a69574d8c
|
|
@ -60,7 +60,7 @@ setInterval(function update() {
|
||||||
logp('attempting to fetch new version');
|
logp('attempting to fetch new version');
|
||||||
|
|
||||||
appendLogs('fetch', execSync(`git fetch`));
|
appendLogs('fetch', execSync(`git fetch`));
|
||||||
appendLogs('checkout', execSync(`git checkout --force --theirs ${branch}`));
|
appendLogs('update', execSync(`git pull`));
|
||||||
appendLogs('yarn', execSync(`yarn`));
|
appendLogs('yarn', execSync(`yarn`));
|
||||||
|
|
||||||
logp('restarting...')
|
logp('restarting...')
|
||||||
|
|
|
||||||
Reference in New Issue