mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 13:57:11 -04:00
Only push to api-docs when changes
This commit is contained in:
parent
9859b4a3d9
commit
01c7a05841
1 changed files with 7 additions and 2 deletions
|
@ -853,8 +853,13 @@ stages:
|
|||
git config --global user.name "Servarr"
|
||||
git checkout -b api-docs
|
||||
git add .
|
||||
git commit -m 'Automated API Docs update'
|
||||
git push -f --set-upstream origin api-docs
|
||||
if git status | grep -q modified
|
||||
then
|
||||
git commit -am 'Automated API Docs update'
|
||||
git push -f --set-upstream origin api-docs
|
||||
else
|
||||
echo "No changes since last run"
|
||||
fi
|
||||
displayName: Commit API Doc Change
|
||||
- task: CreatePullRequest@1
|
||||
displayName: PR Change to Github
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue