From 6ee37188f6a02846f960519b76e380a2d336a786 Mon Sep 17 00:00:00 2001 From: Ken Date: Mon, 25 Feb 2019 21:24:47 -0800 Subject: [PATCH] making a temp branch to do updates on the docs push --- azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e507045..c9d64d4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,7 +24,8 @@ steps: npm install git checkout -b build_$(Build.BuildId) npm run build - git add docs/ + git add . git commit -m "adding docs" - git push origin `git subtree split --prefix docs master`:refs/heads/gh-pages --force + git subtree split --prefix docs -b temp_$(Build.BuildId) + git push origin temp_$(Build.BuildId):refs/heads/gh-pages --force displayName: 'npm install, build and push docs to gh-pages'