Forked from anonymous/gist:7f9e952b1b1012b1318da5ed60d27e62
Created
October 26, 2017 00:24
-
-
Save samuraitruong/2122f4f3ce251e92ec2260a7600dbf19 to your computer and use it in GitHub Desktop.
Rsycn SSH
This file contains 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
rsync --no-perms --omit-dir-times --delete -vr -e "ssh -i /home/teamcity/.ssh/id_rsa_custom" --timeout=1000 --log-file=/tmp/rsyncd.log ./build/ ci@server:/var/www/build/ | |
rsync --no-perms --omit-dir-times -vr -e "ssh -i /home/teamcity/.ssh/id_rsa_custom" --timeout=1000 --log-file=/tmp/rsyncd.log ./node_modules/ ci@server:/var/www/node_modules/ | |
rm -f .env.production.local | |
cat >.env.production.local <<'EOL' | |
AAA=VVVV/ | |
BBB=XXXX | |
EOL | |
cat .env.production.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment