Skip to content

Instantly share code, notes, and snippets.

@11808s8
Last active February 18, 2020 20:41
Show Gist options
  • Select an option

  • Save 11808s8/44ac8f765883441f6c601875e6cfb976 to your computer and use it in GitHub Desktop.

Select an option

Save 11808s8/44ac8f765883441f6c601875e6cfb976 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Script to configure and the remote project updater
# Version 2.0.0
# author: Adriano Gomes da Silva <[email protected]>
clear
_VERSIONING_FOLDER="remoteversions"
_PROJECT_FOLDER="<local web app folder>"
_PROJECT_DESTINY="<remote web app folder>"
_SSH_USER="<user>"
_SSH_IP="<remote ip>"
_SSH_PORT="<port>"
_PROJECT_NAME="${0}"
. remoteProjectUpdater.sh $_VERSIONING_FOLDER $_PROJECT_FOLDER $_PROJECT_DESTINY $_SSH_USER $_SSH_IP $_SSH_PORT $_PROJECT_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment