Skip to content

Commit

Permalink
fix(deployment): deactivate cache for index on live bucket (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwambach authored Dec 14, 2020
1 parent a7506a5 commit 41ff6fc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ci/cloudbuild-deploy-live.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ steps:
args: ['run', 'build']
- name: 'gcr.io/cloud-builders/gsutil'
args: ['rsync', '-r', '-d', './dist', 'gs://cfs.climate.esa.int']
- name: gcr.io/google.com/cloudsdktool/cloud-sdk:slim
id: 'set-no-cache-on-index-html'
entrypoint: 'gsutil'
args:
- "-m"
- "setmeta"
- "-r"
- "-h"
- "Cache-Control: no-cache"
- "gs://cfs.climate.esa.int/index.html"
- name: gcr.io/cloud-builders/git
args:
[
Expand Down

0 comments on commit 41ff6fc

Please sign in to comment.