From 857e2ea60b642fb086c9d88f25e51092216dd5dd Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Thu, 21 Jul 2022 22:29:04 -0400 Subject: [PATCH] fix(build): Sync contents of public directory Changes the rsync command to sync the contents of the built "public" directory rather than the directory itself. --- .build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index 0426749..1d7f048 100644 --- a/.build.yml +++ b/.build.yml @@ -16,7 +16,7 @@ tasks: # only deploy when on master branch if [ "$(git rev-parse master)" == "$(git rev-parse HEAD)" ]; then sshopts="ssh -p 221 -o StrictHostKeyChecking=no" - openrsync --rsh="$sshopts" --delete -r public $deploy + openrsync --rsh="$sshopts" --delete -r public/ $deploy else echo "Skipping: not on master branch" complete-build;