All-in-one web server that serves a Jekyll site from a Git repo & auto-updates it through webhooks.
442
All-in-one web server that builds & serves a Jekyll site from a Git repository, and auto-updates through webhooks. Based on momar/web.
docker run \
--name jekyll-deployment \
-d -p 80:80 \
-e WEBHOOK_TOKEN=+++ \
-e GIT_REPOSITORY=https://codeberg.org/+++/+++.git \
-e GIT_BRANCH=main \
momar/jekyll-deployment
You can generate a webhook token for example with tr -dc A-Za-z0-9 < /dev/urandom | head -c 64.
The webhook will listen on /.well-known/build-webhook/$WEBHOOK_TOKEN, and can e. g. be added as a
webhook in the repository settings of Gitea to automate the build (additional settings basically
don't matter, but you should probably set a branch filter).
Content type
Image
Digest
Size
379.2 MB
Last updated
over 5 years ago
docker pull momar/jekyll-deployment