cornernote / minetest-bower

A package manager for Minetest.
https://minetest-bower.herokuapp.com/
11 stars 3 forks source link

support for webhooks #21

Closed adrido closed 9 years ago

adrido commented 9 years ago

I'm not shure if github also supports something like webhooks, but bitbucket does: https://confluence.atlassian.com/display/BITBUCKET/Manage+Webhooks

you can configure the webhook, that it automatical sends a http request to a specific webpage, every time a pull is made on git. The bower can update the repo by itself, without pressing the update button.

cornernote commented 9 years ago

You can already do this. I'll add some instructions below, and also add them to the page.

Step 1 Step 2 Step 3

cornernote commented 9 years ago

Step 1 Step 2

step3 pending... bitbucket seems to be broken, have sent support request

adrido commented 9 years ago

I know how to setup the webhook, and it works realy fine on other pages, but the bower page does not work: bitbucket org_2015-08-12_05-04-32 Bitbucket only gets a 400 HTTP error

cornernote commented 9 years ago

Interesting. Thanks for pointing this out. I'll check it out later tonight.

cornernote commented 9 years ago

The problem was CSRF validation was enabled please try again now.

cornernote commented 9 years ago

This image is being put here so I can put it on the site.

BitBucket

adrido commented 9 years ago

Works now, thanks bitbucket org_2015-08-12_07-25-56