blob: 2590eb14872f0bf336a857e9b5c906662f920cf8 [file] [log] [blame]
steps:
- name: gcr.io/cloud-builders/docker
args: ['build', '--tag=gcr.io/$PROJECT_ID/bazel-jekyll', 'scripts/docs']
- name: gcr.io/$PROJECT_ID/bazel-jekyll
args: ['bazel', 'version']
- name: gcr.io/$PROJECT_ID/bazel-jekyll
args: ['bazel', 'build', '--action_env=PATH=/usr/local/bin:/usr/bin:/bin', '//site']
- name: gcr.io/cloud-builders/gsutil
args: ['-m', 'rsync', '-r', '-c', '-d', '/workspace/bazel-bin/site/site-build', 'gs://docs.bazel.build']
- name: gcr.io/cloud-builders/gsutil
args: ['web', 'set', '-m', 'index.html', '-e', '404.html', 'gs://docs.bazel.build']
timeout: 7200s