This website requires JavaScript.
Explore
Help
Sign In
deuill
/
coreos-home-server
Watch
1
Star
0
Fork
0
You've already forked coreos-home-server
mirror of
https://github.com/deuill/coreos-home-server.git
synced
2024-09-21 13:40:45 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
39ef7132c6
coreos-home-server
/
service
/
hugo
/
hugo.env.template
4 lines
99 B
Plaintext
Raw
Normal View
History
Unescape
Escape
hugo: Switch to webhook-based builder This commit switches Hugo to a webhook-based building process, with support for Github, Gitlab, and Gitea hooks (including local versions of Gitea) initially. In addition, Hugo-based sites are now intended to be served under a single volume, with ingress configuration pointing to sub-paths into the volume. Documentation for webhook setup and NGINX proxy configuration is still underway, and will be filled in later.
2022-10-28 16:47:34 +00:00
# Deploy configuration.
hugo: Use branch name from payload if possible Gitea and Gitlab allow for filtering push events based on the branch name, so we assume that webhook payloads don't need to be filtered based on the branch in these cases. Github doesn't allow for this sort of filtering, so we have to specify a default branch to filter on.
2022-10-29 14:46:15 +00:00
HUGO_DEPLOY_DEFAULT_BRANCH=master
hugo: Switch to webhook-based builder This commit switches Hugo to a webhook-based building process, with support for Github, Gitlab, and Gitea hooks (including local versions of Gitea) initially. In addition, Hugo-based sites are now intended to be served under a single volume, with ingress configuration pointing to sub-paths into the volume. Documentation for webhook setup and NGINX proxy configuration is still underway, and will be filled in later.
2022-10-28 16:47:34 +00:00
HUGO_DEPLOY_SECRET=${HUGO_DEPLOY_SECRET}
Reference in New Issue
Copy Permalink