My site is meant to be published by the continuous integration hook in my git server. The continuous integration script runs lektor deploy
.
As such, I need the publish settings in my project file, but I don't like the peril of having an easily-acessible publish button that can be fat-fingered.
I don't see anything like that in the command-line docs. Is that not possible?
You should be using
lektor build
instead and serve your site with a proper http server. (or deploy remotely e.g. withlektor deploy
)The dev server is meant to be just that, used for development. Running it in production might well be a security risk.