Skip to content
Snippets Groups Projects
Unverified Commit 805fd496 authored by Akshay S Dinesh's avatar Akshay S Dinesh
Browse files

devops: Simplify deployment

Earlier a "production" git branch was used to keep the generated HTML
(along with a LICENSE file). This is an anti-pattern.

Hugo can generate output to different folder anyhow.

With the new setup, we will delete the production branch and keep only
the source files in git. The output will be directly generated on the server
with hugo and served by nginx from a separate folder.

Instead of git push, the deployment is triggered by
`ssh -t "./update-camp-website"`
which runs a script on the server.

Ideally, a webhook should do that automatically on any commits to master.
But that requires a webhook listening and can be considered later.
parent 808f0912
Branches
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment