fix perms on rsync
All checks were successful
Deploy website to VPS / build-and-deploy (push) Successful in 1m15s

This commit is contained in:
Evan Scamehorn
2026-01-07 17:22:30 -06:00
parent 39273e757c
commit 4746ff594f

View File

@@ -94,6 +94,10 @@ jobs:
# 4. Sync files to NixOS /var/www # 4. Sync files to NixOS /var/www
# Note: the trailing slash on ./public/ means "contents of public" # Note: the trailing slash on ./public/ means "contents of public"
rsync -avz --delete \ rsync -avz --delete \
--omit-dir-times \
--no-perms \
--no-owner \
--no-group \
-e "ssh -p $REMOTE_PORT" \ -e "ssh -p $REMOTE_PORT" \
./public/ \ ./public/ \
$REMOTE_USER@$REMOTE_HOST:/var/www/ $REMOTE_USER@$REMOTE_HOST:/var/www/