diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 393bc4bf7..ef4be60b2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -843,14 +843,17 @@ stages: version: $(dotnetVersion) - checkout: self submodules: true + persistCredentials: true fetchDepth: 1 - bash: ./docs.sh Windows displayName: Create openapi.json - bash: | git config --global user.email "development@lidarr.audio" git config --global user.name "Servarr" + git checkout -b api-docs git add . git commit -m 'Automated API Docs update' + git push -f displayName: Commit API Doc Change - task: CreatePullRequest@1 displayName: PR Change to Github