See details in commit https://github.com/markuszoeller/markuszoeller.github.io/commit/cc94644859e1d12333bcd81c899b1662ea7755eb The important lines are https://github.com/markuszoeller/markuszoeller.github.io/blob/cc94644859e1d12333bcd81c899b1662ea7755eb/publish-gh-pages.sh#L37-L38 Don't delete if there isn't something new!