How can I do something like this in my cloudbuild.yaml:
artifacts:
objects:
location: 'gs://<my_dir>/'
paths: ['dist/index.html']
artifacts:
objects:
location: 'gs://<my_dir>/<my_subdir>/'
paths: ['dist/assets/*']
So that different files generated during the build go to different folders in the same bucket?
Hello @JonGCP,
Welcome to the Google Cloud Community!
Take a look at this documentation: Storing artifacts in Cloud Storage.
Do note that:
Take a look at this example YAML file:
artifacts:
objects:
location: [STORAGE_LOCATION]
paths: [[ARTIFACT_PATH],[ARTIFACT_PATH], ...]
If the above option doesn't work, you can contact Google Cloud Support to further look into your case. Let me know if it helped, thanks!