diff --git a/_config.yml b/_config.yml index 93598a8..365865f 100644 --- a/_config.yml +++ b/_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: diff --git a/package.json b/package.json index 75f58d3..3d59f28 100644 --- a/package.json +++ b/package.json @@ -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",