Coding.net Pages部署
0 条评论Coding.net Pages部署 FAQ
Coding相关设置
注册账户
新建项目
- 创建 coding-pages 分支(可选)
- 开启pages服务 可选master分支
- 如果有域名需要绑定 CNAME
配置hexo git
- 安装 git 扩展
1
npm install hexo-deployer-git --save
- 配置 git
1
2
3
4
5
6
7
8
9
10# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repo:
github: git@github.com:xxx/xxx.git
coding: git@git.coding.net:xxx.git
branch: master
message: " updateed: {{ now('YYYY-MM-DD HH:mm:ss') }}"