command
module
Version:
v0.0.0-...-2049f16
Opens a new window with list of versions in this module.
Published: Oct 28, 2016
License: Unlicense
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Makelar
Little program to receive webhook then update repository,
build hugo site to output directory.
This project just my naive implementation for learning golang.
Usage:
MLR_PORT=8080 \
MLR_URL=/webhook \
MLR_HUGO_SITE=~/path/to/hugo/site \
MLR_HUGO_BIN=/path/to/bin/hugo \
MLR_OUTPUT_DIR=/path/to/public_html \
./makelar
Documentation
¶
Makelar
Config:
- path to hugo site directory
- path to hugo executable
- path to hugo output directory
- path for url
Start:
- get all path
- wait request incoming
Request Incoming:
- delete output directory content
- runHugo and runGitPull
- wait for next request
Source Files
¶
Click to show internal directories.
Click to hide internal directories.