deploy:加入自动使用rsync部署的配置。

This commit is contained in:
徐涛 2021-04-25 11:49:50 +08:00
parent c6271f085b
commit 98bfa267a3
2 changed files with 10 additions and 1 deletions

View File

@ -102,7 +102,15 @@ theme: grid
# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: ""
type: rsync
host: 39.105.39.8
user: root
root: /var/www/blog/
port: 22
delete: true
args:
verbose: true
ignore_errors: true
# Plugins Configurations
marked:

View File

@ -14,6 +14,7 @@
"dependencies": {
"hexo": "^5.0.0",
"hexo-admonition": "^1.1.2",
"hexo-deployer-rsync": "^1.0.0",
"hexo-filter-fenced-code": "^1.0.2",
"hexo-filter-mathjax": "^0.6.3",
"hexo-filter-plantuml": "^2.1.0",