From a5ed5c4c539be6ebef4a3e8b70557cbb46a6d685 Mon Sep 17 00:00:00 2001 From: Simon Stone Date: Fri, 27 Mar 2020 11:12:31 +0000 Subject: [PATCH] Fix documentation publishing (contributes to #67) (#112) Signed-off-by: Simon Stone --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 93abf119..ece92afb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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'))