added staging build step to docs deployment (#4129)

This commit is contained in:
Mircea Colonescu
2019-11-11 09:43:11 -05:00
committed by Marko
parent 1fc4ab7234
commit 0c6ad4f714
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -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:
+1
View File
@@ -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: