|
|
|
@ -1003,7 +1003,7 @@ stages:
|
|
|
|
|
git add .
|
|
|
|
|
if git status | grep -q modified
|
|
|
|
|
then
|
|
|
|
|
git commit -am 'Automated API Docs update'
|
|
|
|
|
git commit -am 'Automated API Docs update [skip ci]'
|
|
|
|
|
git push -f --set-upstream origin api-docs
|
|
|
|
|
curl -X POST -H "Authorization: token ${GITHUBTOKEN}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/prowlarr/prowlarr/pulls -d '{"head":"api-docs","base":"develop","title":"Update API docs"}'
|
|
|
|
|
else
|
|
|
|
|