Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build config and repo layout #258

Open
berezovskyi opened this issue Jun 27, 2019 · 1 comment
Open

Update build config and repo layout #258

berezovskyi opened this issue Jun 27, 2019 · 1 comment

Comments

@berezovskyi
Copy link
Member

I think we should do the Hugo build on the server instead and not to commit it to the production folder.

We should also trigger the build via a webhook when a push to master is done.

We should also keep the hugo sources in a subfolder and keep the deploy program and the content negotiator and the nginx config (at least the redirects that will be included in the master config) in other folders.

@jamsden
Copy link
Member

jamsden commented Jun 27, 2019

sounds like an excellent idea. I always thought it strange to put generated content under SCM, and it clutters your working copy with stuff you can't edit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants