Branch and push prior to PR

pull/740/head
Qstick 2 years ago
parent 8a38e124fd
commit 97956ce951

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

Loading…
Cancel
Save