Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 462 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 462 Bytes

website-build

hugo website automation build aplication

Custom server that will wait for github push notification and then pull web site project and run hugo to rebuild content.

Configuration

Set following Env variables:

  • PUSH_PORT what port to listen
  • PUSH_HTTP_PATH http path to react to eq. /push
  • PUSH_GITHUB_SECRET github webhook secret
  • PUSH_PROJECT_DIR dir path where project is

Dependencies

go get github.com/phayes/hookserve