From 0c6ad4f714a9259619c5d8a066ffb731ab9fe701 Mon Sep 17 00:00:00 2001 From: Mircea Colonescu Date: Mon, 11 Nov 2019 09:43:11 -0500 Subject: [PATCH] added staging build step to docs deployment (#4129) --- .circleci/config.yml | 6 ++++++ Makefile | 1 + 2 files changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 83a1ba5a7..72e5dfa43 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -381,6 +381,12 @@ workflows: tags: only: - /^v.*/ + - deploy_docs: + context: tendermint-docs-staging + filters: + branches: + only: + - docs-theme-latest - setup_dependencies - test_abci_apps: requires: diff --git a/Makefile b/Makefile index b030e75d0..472b3a0ea 100644 --- a/Makefile +++ b/Makefile @@ -162,6 +162,7 @@ build-docs: (git checkout $${p} && npm install && VUEPRESS_BASE="/$${p}/" npm run build) ; \ mkdir -p ~/output/$${p} ; \ cp -r .vuepress/dist/* ~/output/$${p}/ ; \ + cp ~/output/$${p}/index.html ~/output ; \ done < versions ; sync-docs: