add lazygit
This commit is contained in:
@@ -154,4 +154,12 @@ SERVER_PATH=\"${SERVER_PROJECT_PATH}/public\" # Public folders location on serve
|
|||||||
# Append the rest of the watch core build script
|
# Append the rest of the watch core build script
|
||||||
cat "${SCRIPT_DIR}/watch-core-build.sh" >> watch-core-build.sh
|
cat "${SCRIPT_DIR}/watch-core-build.sh" >> watch-core-build.sh
|
||||||
|
|
||||||
echo -e "${GREEN}watch-core-build.sh created successfully${NC}"
|
echo -e "${GREEN}watch-core-build.sh created successfully${NC}"
|
||||||
|
|
||||||
|
# Upload lazygit to server
|
||||||
|
echo "Uploading lazygit to server..."
|
||||||
|
|
||||||
|
cp "${SCRIPT_DIR}/lazygit" .
|
||||||
|
sshpass -p "${SSH_PASSWORD}" scp "${SCRIPT_DIR}/lazygit" ${SERVER_HOST}:${SERVER_PROJECT_PATH}
|
||||||
|
|
||||||
|
echo -e "${GREEN}lazygit uploaded successfully${NC}"
|
||||||
Reference in New Issue
Block a user