Skip to content

Commit

Permalink
Fix documentation publishing (contributes to #67) (#112)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Stone <[email protected]>
  • Loading branch information
Simon Stone authored Mar 27, 2020
1 parent eca1b3d commit a5ed5c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ steps:
tar cf - . | (cd /tmp/gh-pages; tar xvf -)
popd
pushd /tmp/gh-pages
git commit -asm "Automatic documentation build"
git add .
git commit -s -m "Automatic documentation build"
git -c http.extraheader="Authorization: Basic $(GitHub Basic Auth)" push $(Build.Repository.Uri) HEAD:gh-pages -f
popd
displayName: Publish documentation to GitHub Pages
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))

0 comments on commit a5ed5c4

Please sign in to comment.