diff --git a/_config.yml b/_config.yml index 80efc57..2534066 100644 --- a/_config.yml +++ b/_config.yml @@ -78,4 +78,6 @@ theme: next # Deployment ## Docs: https://hexo.io/docs/deployment.html deploy: - type: + type: git #部署方式 + repository: https://github.com/saturneric/saturneric.github.io.git #关联github仓库 + branch: run-page #部署分支 diff --git a/package.json b/package.json index 9885744..718b02f 100644 --- a/package.json +++ b/package.json @@ -13,13 +13,14 @@ }, "dependencies": { "hexo": "^3.9.0", + "hexo-deployer-git": "^2.0.0", "hexo-generator-archive": "^0.1.5", "hexo-generator-category": "^0.1.3", "hexo-generator-index": "^0.2.1", "hexo-generator-tag": "^0.2.0", "hexo-renderer-ejs": "^0.3.1", - "hexo-renderer-stylus": "^0.3.3", "hexo-renderer-marked": "^2.0.0", + "hexo-renderer-stylus": "^0.3.3", "hexo-server": "^0.3.3" } -} \ No newline at end of file +}