Automatically delete unneeded files on production
Currently the built files are copied via scp
to the production web hosting and also overwritten, but unnecessary files are not deleted.
Better is to use rsync
with the --delete flag (if that is available).
Edited by Bastian Menningen