DIVD-NL/web-csirt

Remove old pages

Closed this issue · 5 comments

We use rsync (https://github.com/DIVD-NL/sites/blob/master/.circleci/config.yml#L49) to sync pages but we don't remove the old (removed) ones.

Perhaps we should use the --delete flag

@MrSeccubus Can you add this --delete flag for deleting files on the webserver?

It might be sufficient to do this in the config of the circleci file (so not on the webserver) but I'm not 100% sure about that part of the setup yet

Should this be directly added to a branch and then merged or should someone test this first? I suppose that it would probably work fine but don't think gambling it is wise