From 7fed533acfe3bc037b2f77a3dfa356e3e4592abb Mon Sep 17 00:00:00 2001 From: saturneric Date: Wed, 9 Oct 2019 22:44:57 +0800 Subject: [PATCH] Modify package.json. --- _config.yml | 4 +++- package.json | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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 +}