Last active
February 18, 2020 20:41
-
-
Save 11808s8/44ac8f765883441f6c601875e6cfb976 to your computer and use it in GitHub Desktop.
Example configuration script for https://gist.github.com/11808s8/dc1ac5625f1d73b62a7f7318f3cf02d8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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