|
|
@ -857,7 +857,7 @@ stages:
|
|
|
|
then
|
|
|
|
then
|
|
|
|
git commit -am 'Automated API Docs update'
|
|
|
|
git commit -am 'Automated API Docs update'
|
|
|
|
git push -f --set-upstream origin api-docs
|
|
|
|
git push -f --set-upstream origin api-docs
|
|
|
|
curl -X POST -H 'Authorization: token $GITHUB_TOKEN' -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"}'
|
|
|
|
curl -X POST -H 'Authorization: token ${GITHUB_TOKEN}' -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
|
|
|
|
else
|
|
|
|
echo "No changes since last run"
|
|
|
|
echo "No changes since last run"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|