Add automatic GitHub webhook creation

This commit is contained in:
rubenwardy
2020-01-24 23:19:06 +00:00
parent d4936e18ee
commit e12aec4ccd
6 changed files with 183 additions and 9 deletions

View File

@@ -364,6 +364,15 @@
</ul>
</div>
{% if package.getIsOnGitHub() %}
<p class="small text-centered">
<a href="{{ url_for('github.setup_webhook', pid=package.id) }}">
Set up a webhook
</a>
to create releases automatically.
</p>
{% endif %}
<div class="card my-4">
<div class="card-header">
{% if package.approved and package.checkPerm(current_user, "CREATE_THREAD") %}