Created
November 1, 2008 16:28
-
-
Save kastner/21540 to your computer and use it in GitHub Desktop.
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
| #!/usr/bin/env ruby | |
| %w|back1 front1 static tagback|.each do |host| | |
| `source ~/.keychain/harland-sh && ssh #{host} ./update` | |
| end | |
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 | |
| cd tagmy | |
| git pull | |
| rm -rf /var/www/tagmy/* | |
| cp -a * /var/www/tagmy/ | |
| if [ -f .htaccess ]; then | |
| cp .htaccess /var/www/tagmy/ | |
| fi | |
| chgrp www-data /var/www/tagmy -R | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment