|
|
@ -16,4 +16,13 @@ hugo serve
|
|
|
|
- [rclone](https://rclone.org/sftp/) for sftp deployment
|
|
|
|
- [rclone](https://rclone.org/sftp/) for sftp deployment
|
|
|
|
|
|
|
|
|
|
|
|
## deployment
|
|
|
|
## deployment
|
|
|
|
- `sh deploy.sh`
|
|
|
|
- Deploy to an sftp host. Create `~/.config/rclone/rclone.conf` as follows for ssh keyfile authentication:
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
[wntr_org]
|
|
|
|
|
|
|
|
type = sftp
|
|
|
|
|
|
|
|
host = HOSTNAME_OR_IP
|
|
|
|
|
|
|
|
user = wntr
|
|
|
|
|
|
|
|
key_file = ~/.ssh/KEYFILE
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- run `sh deploy.sh` for deployment
|
|
|
|