From 1285782ef6617487df0bcb1ef527b124a94ef301 Mon Sep 17 00:00:00 2001 From: Mircea Colonescu Date: Wed, 13 Nov 2019 06:06:05 -0500 Subject: [PATCH] add docs staging build (#5306) --- .circleci/config.yml | 9 +++------ Makefile | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4cd7d03676..a6f67a43c0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -215,16 +215,13 @@ workflows: filters: branches: only: - - /.*/ - tags: - ignore: - - /^v.*/ + - docs-theme-latest - build-docs: context: docs-deployment-release filters: branches: - ignore: - - /.*/ + only: + - master tags: only: - /v.*/ diff --git a/Makefile b/Makefile index 360f507742..8d947640f7 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ build-docs: (git checkout $${p} && npm install && VUEPRESS_BASE="/$${p}/" npm run build) ; \ mkdir -p ~/output/$${p} ; \ cp -r .vuepress/dist/* ~/output/$${p}/ ; \ - echo "$${p}" >> ~/output/index.html ; \ + cp ~/output/$${p}/index.html ~/output ; \ done < versions ; sync-docs: