Skip to main content

No project description provided

Project description

mkdocs-build-webhook

A webhook that builds your mkdocs projects.

Run it with

Installation

mkdir /usr/share/mkdocs-build-webhook/ /var/www/ /etc/mkdocs-build-webhook/
chown -R www-data:www-data /usr/share/mkdocs-build-webhook/ /var/www/

Add this config to /etc/mkdocs-build-webhook/mkdocs-build-webhook.conf:

[paths]
git = "dist/git_dir"
www = "dist/www"

[auth]
secret = "<secret>"

[gunicorn]
bind = "0.0.0.0:5000"
workers = 4

Docker

podman build -t mkdocs-build-webhook .    
podman run  --userns keep-id --rm --name mkdocs-build-webhook -v ./dist/www/:/var/www/:z -e WEBHOOK_SECRET=secret -p 5000:5000 localhost/mkdocs-build-webhook

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_build_webhook-0.1.8.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

mkdocs_build_webhook-0.1.8-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page