deploy:加入自动使用rsync部署的配置。
This commit is contained in:
parent
c6271f085b
commit
98bfa267a3
10
_config.yml
10
_config.yml
@ -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:
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user