Skip to content

Github webhooks #85

@peteruithoven

Description

@peteruithoven

I understand from the docs that the documents are only recompiled when the following url is visited:
http://documentup.com/{user}/{repository}/recompile

To recompile it automatically you can add a webhook to Github.
So I've set the Payload URL to: http://documentup.com/recompile
Shouldn't that be http://documentup.com/{user}/{repository}/recompile ?

It didn't seem to work when I left the content type to application/json (default), but changing it to application/x-www-form-urlencoded seems to help, it then received an ok as response.
Maybe you can add this to your readme?

I left the event that should trigger the hook to Just the push event, which is the default. I couldn't find the Post-receive hook.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions