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.
master
Nick Zana 2 years ago
parent 97d9c37b30
commit 857e2ea60b
No known key found for this signature in database
GPG Key ID: 936524EE913D6538

@ -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;

Loading…
Cancel
Save