- git: ^v2.0.0 - node: ^v12.18.3 - yarn: ^v1.12.0
read: user 读取用户信息 user: email 读取用户邮箱
read: org 读取组织信息
⚠️ 注意:为了账号安全,请勿选择其他权限。
blog.config.js:module.exports = {
baseUrl: '/blog/',
userName: '你的用户名',
userEmail: '你的邮箱',
repository: 'blog',
accessToken: '经过base64编码的token',
blogName: '你的博客名称',
seo: {
title: '博客标题',
description: '博客描述',
keywords: '关键词'
}
}
# 安装依赖
yarn install
# 启动开发服务器
yarn serve
# 构建生产版本
yarn build
# 部署到 GitHub Pages
yarn deploy
git checkout -b feature/amazing-feature)git commit -m 'feat: add amazing feature')git push origin feature/amazing-feature)