deploy
This commit is contained in:
parent
59daef7d75
commit
9cb22069c2
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ install_lightning_pub() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log "${PRIMARY_COLOR}Installing${RESET_COLOR} ${SECONDARY_COLOR}Lightning.Pub${RESET_COLOR}..."
|
log "${PRIMARY_COLOR}Installing${RESET_COLOR} ${SECONDARY_COLOR}Lightning.Pub${RESET_COLOR}..."
|
||||||
REPO_URL="https://github.com/shocknet/Lightning.Pub/tarball/fix/bootstrap"
|
REPO_URL="https://github.com/shocknet/Lightning.Pub/tarball/master"
|
||||||
|
|
||||||
sudo -u $USER_NAME wget $REPO_URL -O $USER_HOME/lightning_pub.tar.gz > /dev/null 2>&1 || {
|
sudo -u $USER_NAME wget $REPO_URL -O $USER_HOME/lightning_pub.tar.gz > /dev/null 2>&1 || {
|
||||||
log "${PRIMARY_COLOR}Failed to download Lightning.Pub.${RESET_COLOR}"
|
log "${PRIMARY_COLOR}Failed to download Lightning.Pub.${RESET_COLOR}"
|
||||||
|
|
@ -45,7 +45,7 @@ install_lightning_pub() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Merge if upgrade
|
# Merge if upgrade
|
||||||
rsync -av --exclude='*.sqlite' --exclude='.env' --exclude='logs' --exclude='node_modules' lightning_pub_temp/ lightning_pub/ > /dev/null 2>&1
|
rsync -av --exclude='*.sqlite' --exclude='.env' --exclude='logs' --exclude='node_modules' --exclude='.jwt_secret' --exclude='admin.npub' --exclude='app.nprofile' --exclude='.admin_connect' --exclude='.admin_enroll' lightning_pub_temp/ lightning_pub/ > /dev/null 2>&1
|
||||||
rm -rf lightning_pub_temp
|
rm -rf lightning_pub_temp
|
||||||
|
|
||||||
# Load nvm and npm
|
# Load nvm and npm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue