Last active
August 3, 2016 14:42
-
-
Save tuanphpvn/374235db6676cd07ec33ce6b80657f37 to your computer and use it in GitHub Desktop.
Hard code Login with your password
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
#!/bin/sh | |
echo 'XXXX' | sudo -S su - | |
sudo su born <<'EOF' | |
cd /var/www/XXX | |
git pull origin master | |
EOF | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment