From 1e08df6075c064288ec5033dc633657481a38543 Mon Sep 17 00:00:00 2001 From: James Carnegie Date: Mon, 14 Mar 2022 16:19:56 +0000 Subject: [PATCH] Create cloudbuild-prod.yaml --- cloudbuild-prod.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 cloudbuild-prod.yaml diff --git a/cloudbuild-prod.yaml b/cloudbuild-prod.yaml new file mode 100644 index 00000000..c779b8cd --- /dev/null +++ b/cloudbuild-prod.yaml @@ -0,0 +1,19 @@ +steps: +- name: squidfunk/mkdocs-material:3.3.0 + entrypoint: "bash" + args: + - '-eEuo' + - 'pipefail' + - '-c' + - |- + mkdocs build --strict; + cp -R site/ /site + volumes: + - name: 'site' + path: '/site' +- name: gcr.io/atomist-web-docs-prod/firebase + args: ["deploy", "--project=atomist-web-docs-production", "--only=hosting"] + volumes: + - name: 'site' + path: '/site' +