diff --git a/.cloud-build/notebook-index-cloudbuild.yaml b/.cloud-build/web-index/notebook-index-cloudbuild.yaml similarity index 64% rename from .cloud-build/notebook-index-cloudbuild.yaml rename to .cloud-build/web-index/notebook-index-cloudbuild.yaml index 9befb097f..7ae12bd81 100644 --- a/.cloud-build/notebook-index-cloudbuild.yaml +++ b/.cloud-build/web-index/notebook-index-cloudbuild.yaml @@ -1,10 +1,4 @@ steps: - # Check the Python version - - name: ${_PYTHON_IMAGE} - entrypoint: /bin/sh - args: - - -c - - python3 .cloud-build/CheckPythonVersion.py -q # Fetch full repo for diff purposes - name: gcr.io/cloud-builders/git args: [fetch, --unshallow, --quiet] @@ -21,8 +15,9 @@ steps: - -c - | . workspace/env/bin/activate && - python3 notebooks/notebook_template_review.py --web --title -steps --desc --linkback --notebook-dir=notebooks/official >${_GCS_ARTIFACTS_BUCKET}/web.html + python3 notebooks/notebook_template_review.py --web --title --steps --desc --linkback --notebook-dir=notebooks/official >web.html artifacts: objects: - location: ${_GCS_ARTIFACTS_BUCKET}/web.html + location: gs://${_GCS_ARTIFACTS_BUCKET}/webdoc + paths: ['web.html'] timeout: 86400s