From d0e536ec9f19d85b42b77f3ba28ae0b1e719ac77 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Sun, 24 Oct 2021 23:25:39 +0800 Subject: feat(script): Require install dependencies while build packages Signed-off-by: KunoiSayami --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deploy.sh') diff --git a/deploy.sh b/deploy.sh index 4d7c6e4..b6d5224 100755 --- a/deploy.sh +++ b/deploy.sh @@ -4,5 +4,5 @@ if [ $# -eq 0 ]; then exit 1 fi ARCH=$(/usr/bin/uname -m) -/usr/bin/rsync --partial -r --update --link --delete $DEPLOY_ARGS --exclude=.gitignore "packages/$ARCH" $1:/var/www/repo/ -echo "date +%s > /var/www/repo/$ARCH/LAST_SYNC" | /usr/bin/xargs /usr/bin/ssh $1 +/usr/bin/date +%s > "packages/$ARCH/LASTSYNC" +/usr/bin/rsync --partial -r --update --links --delete --exclude=.gitignore "packages/$ARCH" $1:/var/www/repo/ -- cgit v1.3.1