mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 12:16:55 +00:00
Update hugo-deploy.md
This commit is contained in:
1 parent
527cf3b2b9
commit
bd35dfbd85
1 file changed
+3
-2
@@ -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
|
or more `[[deployment.targets]]` section, one for each deployment target. Here's
|
||||||
a detailed example:
|
a detailed example:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[deployment]
|
[deployment]
|
||||||
# By default, files are uploaded in an arbitrary order.
|
# By default, files are uploaded in an arbitrary order.
|
||||||
# Files that match the regular expressions in the "Order" list
|
# Files that match the regular expressions in the "Order" list
|
||||||
@@ -116,7 +116,8 @@ gzip = true
|
|||||||
## Deploy
|
## Deploy
|
||||||
|
|
||||||
To deploy to a target:
|
To deploy to a target:
|
||||||
```
|
|
||||||
|
```bash
|
||||||
hugo deploy [--target=<target name>, defaults to first target]
|
hugo deploy [--target=<target name>, defaults to first target]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user