From 87c8914f834d3eb85ba9ed4d812dd62974fedde9 Mon Sep 17 00:00:00 2001 From: James McDonald Date: Thu, 7 Feb 2019 19:20:24 +0100 Subject: [PATCH] Add ignore-times --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c565672..88b6004 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ Deploy site: script: - hugo - - rsync -av --delete --exclude presentations public/ james@shee.sh:/srv/www/jamesmcdonald + - rsync -av --delete --exclude presentations --ignore-times public/ james@shee.sh:/srv/www/jamesmcdonald - echo "Purging CloudFlare cache" - 'curl -s -X POST "https://api.cloudflare.com/client/v4/zones/8f213feeb6709de2ba2b70dd5cfa704e/purge_cache" -H "X-Auth-Email: $CLOUDFLARE_EMAIL" -H "X-Auth-Key: $CLOUDFLARE_KEY" -H "Content-Type: application/json" --data "{\"purge_everything\": true}"'