generated from nhcarrigan/template
feat: add --delete flag to push.sh for exact mirroring
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
echo "Pushing nginx to prod"
|
echo "Pushing nginx to prod"
|
||||||
rsync --archive --verbose --rsync-path="sudo rsync" nginx/nginx/ prod:/etc/nginx
|
rsync --archive --verbose --delete --rsync-path="sudo rsync" nginx/nginx/ prod:/etc/nginx
|
||||||
echo "All done!"
|
echo "All done!"
|
||||||
|
|||||||
Reference in New Issue
Block a user