mirror of
https://github.com/lektor/lektor-website.git
synced 2025-04-03 00:45:37 +02:00
explicitly specify which file to change to define deployment target server
This commit is contained in:
parent
8936f7a82d
commit
ace75640cc
@ -55,7 +55,10 @@ potential deployment target add a `[servers.NAME]` section. The supported
|
||||
keys are `name` for an optional human readable name of the server, `enabled` to
|
||||
enable or disable it (defaults to `true`) and `target` which is the URL to
|
||||
publish to. Additionally one of the servers can have `default` set to `yes`
|
||||
to set it as default. Here is an example:
|
||||
to set it as default.
|
||||
|
||||
|
||||
Here is an example:
|
||||
|
||||
```ini
|
||||
[servers.production]
|
||||
|
@ -22,6 +22,9 @@ The system supports FTP (`ftp://`) and FTP over TLS (`ftps://`). Passive mode
|
||||
can be enabled/disabled with the optional `?passive` parameter. It defaults
|
||||
to true.
|
||||
|
||||
You will need to change the '<your-project-name>.lektorproject`
|
||||
file to specify the server target.
|
||||
|
||||
## Example
|
||||
|
||||
```ini
|
||||
|
@ -18,8 +18,8 @@ can also accept `username:password@` in the URL to hold the credentials in
|
||||
addition to accepting username and password from the command line or
|
||||
environment variables.
|
||||
|
||||
You will need to change your '<your-project-name>.lektorproject`
|
||||
file to specify the ghpages server target.
|
||||
You will need to change the '<your-project-name>.lektorproject`
|
||||
file to specify the server target.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -13,6 +13,9 @@ SSH as you would normally do. The `username` part is optional and defaults
|
||||
to the current user that is signed into the machine or whatever is picked up
|
||||
as default from the `.ssh/config`.
|
||||
|
||||
You will need to change your '<your-project-name>.lektorproject`
|
||||
file to specify the server target.
|
||||
|
||||
## Example
|
||||
|
||||
```ini
|
||||
|
@ -44,8 +44,8 @@ to configure that.
|
||||
|
||||
## Project Server Config
|
||||
|
||||
For the above example the best way to configure the server for the deployment
|
||||
in the project file would be to use `ghpages+https` like this:
|
||||
For the above example the best way to configure the server for the deployment in the
|
||||
'<your-project-name>.lektorproject` file would be to use `ghpages+https` like this:
|
||||
|
||||
```ini
|
||||
[servers.ghpages]
|
||||
|
Loading…
x
Reference in New Issue
Block a user