Add -v to rsync so transferred files are always visible
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
6
Makefile
6
Makefile
@@ -12,9 +12,9 @@ RSYNC_EXCLUDES := \
|
|||||||
|
|
||||||
# Full deployment: sync files, fix ownership, install dependencies
|
# Full deployment: sync files, fix ownership, install dependencies
|
||||||
deploy: sync
|
deploy: sync
|
||||||
|
sudo chown -R $(OWNER) $(DEST)
|
||||||
sudo -u $(OWNER_USER) npm ci --prefix $(DEST)
|
sudo -u $(OWNER_USER) npm ci --prefix $(DEST)
|
||||||
|
|
||||||
# Copy files and fix ownership — useful for quick updates when dependencies haven't changed
|
# Copy files only — useful for quick updates when dependencies haven't changed
|
||||||
sync:
|
sync:
|
||||||
sudo rsync -a --delete --chown=$(OWNER) $(RSYNC_EXCLUDES) ./ $(DEST)/
|
sudo rsync -aPv --delete --chown=$(OWNER) $(RSYNC_EXCLUDES) ./ $(DEST)/
|
||||||
sudo chown -R $(OWNER) $(DEST)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user