This is my
language: node_js node_js: - "node" cache: npm script: npm run build deploy: provider: gcs access_key_id: $ACCESS_KEY_ID secret_access_key: $SECRET_ACCESS_KEY bucket: $BUCKET_NAME skip_cleanup: true local_dir: dist cache_control: "no-cache,max-age=0" on: branch: master
I’m running a vue and React project inside Docker and I build files with hashed filenames. So everytime I deployed, the new files such as
app.56785678.js had been deployed to my bucket. The previous version (like
app.12341234.js ) is still in the GCS bucket. Any ideas?