Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/deploy-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ case "$PIT" in
esac

[ "${1:-}" = "--build" ] && exit 0
rsync -a "$OUT/" "$DEST"
# Explicit modes: a restrictive local umask (007) would otherwise publish
# 0770/0660 files that nginx cannot read, and every page 500s.
rsync -a --chmod=D755,F644 "$OUT/" "$DEST"
echo "published to $DEST"
Loading