[static-web] Only compare size when uploading due to git not storing this specific kind of metadata.



commit 92737fe93ebd788f55df0d9cd4fc6e435f6e6ddf
Author: Andrea Veri <averi redhat com>
Date:   Mon Jan 31 18:35:38 2022 +0100

    Only compare size when uploading due to git not storing this specific
    kind of metadata.

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 999bd3b..a1ab188 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ s3:
     - mkdir public
     - rsync -avz --exclude=".*" --exclude=*.doap $CI_PROJECT_DIR/* public/
     - aws --version
-    - aws s3 sync public s3://$S3_BUCKET --delete
+    - aws s3 sync public s3://$S3_BUCKET --delete --size-only
     - curl --data "cdn_id=${CDN_RESOURCE_ID}&login=${CDN_USER}&passwd=${CDN_TOKEN}" 
https://api.cdn77.com/v2.0/data/purge-all
   only:
     refs:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]