Copy over installer
This commit is contained in:
parent
1944bd6982
commit
756da57e84
@ -12,7 +12,8 @@
|
|||||||
"ecosystem": "../keys/ci/ecosystem-prod.json",
|
"ecosystem": "../keys/ci/ecosystem-prod.json",
|
||||||
"assets": {
|
"assets": {
|
||||||
"sshKey": "../keys/ci/id_rsa",
|
"sshKey": "../keys/ci/id_rsa",
|
||||||
"sshPub": "../keys/ci/id_rsa.pub"
|
"sshPub": "../keys/ci/id_rsa.pub",
|
||||||
|
"installer": "../installer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,6 +52,10 @@ sudo sed -e 's/SHOWWARNING=true/# SHOWWARNING=true/' -i /etc/tmpreaper.conf
|
|||||||
sudo npm install -g pm2 pm2-run forever
|
sudo npm install -g pm2 pm2-run forever
|
||||||
sudo rm -rf ~/.npm # .npm will get owned by root after "sudo npm install -g"
|
sudo rm -rf ~/.npm # .npm will get owned by root after "sudo npm install -g"
|
||||||
|
|
||||||
|
# installer
|
||||||
|
mv /tmp/installer "${HOME}"
|
||||||
|
cd "${HOME}/installer" && npm install && npm rebuild
|
||||||
|
|
||||||
# create deploy directories
|
# create deploy directories
|
||||||
mkdir -p "${APP_DIR}"
|
mkdir -p "${APP_DIR}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user