[static-web] Invalidate (purge) the cache at the CDN level once a new commit has happened
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [static-web] Invalidate (purge) the cache at the CDN level once a new commit has happened
- Date: Mon, 31 Jan 2022 14:26:29 +0000 (UTC)
commit d8acaec59e59a147cb4428643e013d6ddb0f2d31
Author: Andrea Veri <averi redhat com>
Date: Mon Jan 31 15:26:22 2022 +0100
Invalidate (purge) the cache at the CDN level once a new commit has happened
.gitlab-ci.yml | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 99c7bf5..5edcd53 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ s3:
- 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
only:
refs:
- master
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]