It was requested, that I add the delete option to the rsync deployment. see #1
That way, files that are not present at the source anymore, will also be deleted on the destination.
Please be advised to check your paths accordingly. Because due to this change, it might happen that you delete directories that you are not intending on deleting.
Therefore I added better output on the console. It should be listed there, how many files were deleted.