lektor-website/content/docs/cli/deploy/contents.lr

33 lines
1.0 KiB
Plaintext
Raw Normal View History

2015-12-19 14:52:17 +01:00
comment: This file is auto generated by dump-cli-help.py
---
title: deploy
---
summary: Deploy the website.
---
type: cmdlet
---
body:
`lektor deploy [SERVER]`
This command deploys the entire contents of the build folder
(`--output-path`) onto a configured remote server. The name of the
server must fit the name from a target in the project configuration.
If no server is supplied then the default server from the config is
used.
The deployment credentials are typically contained in the project config
file but it's also possible to supply them here explicitly. In this
case the `--username` and `--password` parameters (as well as the
`LEKTOR_DEPLOY_USERNAME` and `LEKTOR_DEPLOY_PASSWORD` environment
variables) can override what's in the URL.
For more information see the deployment chapter in the documentation.
## Options
- `-O, --output-path PATH`: The output path.
- `--username TEXT`: An optional username to override the URL.
- `--password TEXT`: An optional password to override the URL or the
default prompt.
- `--help`: print this help page.