blob: 5bd38607269f17ffe51f214bec9c98e8b21bdab9 [file] [log] [blame]
Damien Martin-Guillerez49a3e4b2017-11-03 15:30:52 +01001steps:
2- name: gcr.io/cloud-builders/docker
dmartinge67d2952017-11-07 18:40:06 +01003 args: ['build', '--tag=gcr.io/$PROJECT_ID/bazel-jekyll', 'scripts/docs']
Damien Martin-Guillerez49a3e4b2017-11-03 15:30:52 +01004- name: gcr.io/$PROJECT_ID/bazel-jekyll
gregcee00f76a2020-02-21 08:59:31 -08005 args: ['bazel', 'version']
fwe79565c72019-09-02 08:41:09 -07006- name: gcr.io/$PROJECT_ID/bazel-jekyll
gregcee00f76a2020-02-21 08:59:31 -08007 args: ['bazel', 'build', '--action_env=PATH=/usr/local/bin:/usr/bin:/bin', '//site']
Damien Martin-Guillerez49a3e4b2017-11-03 15:30:52 +01008- name: gcr.io/cloud-builders/gsutil
9 args: ['-m', 'rsync', '-r', '-c', '-d', '/workspace/bazel-bin/site/site-build', 'gs://docs.bazel.build']
10- name: gcr.io/cloud-builders/gsutil
11 args: ['web', 'set', '-m', 'index.html', '-e', '404.html', 'gs://docs.bazel.build']
dmartinge67d2952017-11-07 18:40:06 +010012
13timeout: 3600s