making a temp branch to do updates on the docs push

This commit is contained in:
Ken
2019-02-25 21:24:47 -08:00
parent 27747bfa9c
commit 6ee37188f6

View File

@@ -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'