# Hugo-Publish **Repository Path**: RandyField/hugo-publish ## Basic Information - **Project Name**: Hugo-Publish - **Description**: Integrated hugo generate and sftp publish - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-12-28 - **Last Updated**: 2020-12-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 命令使用 ```shell hugop --lpath "hugo" --server "47.98.184.88:22" --username "root" --pwd "admin123456!" --rpath "/usr/wwwroot" ``` - `--lpath` `hugo`项目路径(绝对路径或相对路径) - `--server` 远程服务器地址(包括22端口) - `--username` `ssh`登录用户名 - `--pwd` `ssh`登录密码 - `--rpath` 需上传的路径,所有`public`里面的文件都将上传至此