fix perms on rsync
All checks were successful
Deploy website to VPS / build-and-deploy (push) Successful in 1m15s
All checks were successful
Deploy website to VPS / build-and-deploy (push) Successful in 1m15s
This commit is contained in:
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user