[static-web] Use s3 sync instead (https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html)
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [static-web] Use s3 sync instead (https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html)
- Date: Mon, 31 Jan 2022 17:18:43 +0000 (UTC)
commit b8b71bd5656077e4d04cd2b77426236de01410e5
Author: Andrea Veri <averi redhat com>
Date: Mon Jan 31 18:18:33 2022 +0100
Use s3 sync instead (https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html)
.gitlab-ci.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a45551b..40f5339 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,12 +11,12 @@ s3:
- mkdir public
- rsync -avz --exclude=".*" --exclude=*.doap $CI_PROJECT_DIR/* public/
- aws --version
- - aws s3 rm s3://$S3_BUCKET --recursive
- - aws s3 cp public s3://$S3_BUCKET --recursive
- - curl --data "cdn_id=${CDN_RESOURCE_ID}&login=${CDN_USER}&passwd=${CDN_TOKEN}"
https://api.cdn77.com/v2.0/data/purge-all
+ - aws s3 sync public s3://$S3_BUCKET
+ #- curl --data "cdn_id=${CDN_RESOURCE_ID}&login=${CDN_USER}&passwd=${CDN_TOKEN}"
https://api.cdn77.com/v2.0/data/purge-all
only:
refs:
- master
except:
changes:
- "*.doap"
+ - ".*"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]