diff --git a/lazygit b/lazygit new file mode 100755 index 0000000..2b66206 Binary files /dev/null and b/lazygit differ diff --git a/sync-project.sh b/sync-project.sh index 7cad607..13e760b 100755 --- a/sync-project.sh +++ b/sync-project.sh @@ -154,4 +154,12 @@ SERVER_PATH=\"${SERVER_PROJECT_PATH}/public\" # Public folders location on serve # Append the rest of the watch core build script cat "${SCRIPT_DIR}/watch-core-build.sh" >> watch-core-build.sh -echo -e "${GREEN}watch-core-build.sh created successfully${NC}" \ No newline at end of file +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}" \ No newline at end of file