Update hugo-deploy.md

This commit is contained in:
Bjørn Erik Pedersen 2020-03-12 00:05:39 +01:00 committed by GitHub
parent 527cf3b2b9
commit bd35dfbd85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ In the configuration file for your site, add a `[deployment]` section with one
or more `[[deployment.targets]]` section, one for each deployment target. Here's
a detailed example:
```
```toml
[deployment]
# By default, files are uploaded in an arbitrary order.
# Files that match the regular expressions in the "Order" list
@ -116,7 +116,8 @@ gzip = true
## Deploy
To deploy to a target:
```
```bash
hugo deploy [--target=<target name>, defaults to first target]
```