blob: fbd7cf53ea4aff29d4064b9b94c03275531f1ea3 [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: ['version']
- name: gcr.io/$PROJECT_ID/bazel-jekyll
args: ['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: 3600s