Damien Martin-Guillerez | 49a3e4b | 2017-11-03 15:30:52 +0100 | [diff] [blame] | 1 | steps: |
| 2 | - name: gcr.io/cloud-builders/docker |
dmarting | e67d295 | 2017-11-07 18:40:06 +0100 | [diff] [blame] | 3 | args: ['build', '--tag=gcr.io/$PROJECT_ID/bazel-jekyll', 'scripts/docs'] |
Damien Martin-Guillerez | 49a3e4b | 2017-11-03 15:30:52 +0100 | [diff] [blame] | 4 | - name: gcr.io/$PROJECT_ID/bazel-jekyll |
gregce | e00f76a | 2020-02-21 08:59:31 -0800 | [diff] [blame] | 5 | args: ['bazel', 'version'] |
fwe | 79565c7 | 2019-09-02 08:41:09 -0700 | [diff] [blame] | 6 | - name: gcr.io/$PROJECT_ID/bazel-jekyll |
gregce | e00f76a | 2020-02-21 08:59:31 -0800 | [diff] [blame] | 7 | args: ['bazel', 'build', '--action_env=PATH=/usr/local/bin:/usr/bin:/bin', '//site'] |
Damien Martin-Guillerez | 49a3e4b | 2017-11-03 15:30:52 +0100 | [diff] [blame] | 8 | - 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'] |
dmarting | e67d295 | 2017-11-07 18:40:06 +0100 | [diff] [blame] | 12 | |
| 13 | timeout: 3600s |