mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
making a temp branch to do updates on the docs push
This commit is contained in:
@@ -24,7 +24,8 @@ steps:
|
|||||||
npm install
|
npm install
|
||||||
git checkout -b build_$(Build.BuildId)
|
git checkout -b build_$(Build.BuildId)
|
||||||
npm run build
|
npm run build
|
||||||
git add docs/
|
git add .
|
||||||
git commit -m "adding docs"
|
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'
|
displayName: 'npm install, build and push docs to gh-pages'
|
||||||
|
|||||||
Reference in New Issue
Block a user