diff options
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -7,6 +7,5 @@ if [ $# -eq 0 ]; then echo 'Should provide least one argument' exit 1 fi -ARCH=$(/usr/bin/uname -m) -/usr/bin/date +%s > "packages/$ARCH/LASTSYNC" -/usr/bin/rsync --partial -r --update --links --delete --exclude=.gitignore "packages/$ARCH" $1:/var/www/repo/ +/usr/bin/date +%s > "packages/LASTSYNC" +/usr/bin/rsync --partial -r --update --links --delete --exclude=.gitignore "packages/" $1:/var/www/repo/ |
