We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
配置 github workflow/ main.yml, 执行action 如果无法访问创建 pull-request 需要在项目中进行设置
# 基础配置 title: Your Blog Title description: Your blog description theme: jekyll-theme-minimal # 或其他主题 # Jekyll 设置 markdown: kramdown kramdown: input: GFM syntax_highlighter: rouge # 可选:排除不需要处理的文件 exclude: - generate.py - README.md - .github/
这样设置后,每次 PR merge 到主分支,GitHub 会自动: 检测到 markdown 文件变化 用 Jekyll 构建站点 部署到 GitHub Pages 不需要额外的 workflow 文件,GitHub 会自动处理构建和部署。在 actions 中会生成 workflow: pages-build-deployment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
构建 blog
1. 生成 github developer setting token
2. 创建 github actions
配置 github workflow/ main.yml, 执行action 如果无法访问创建 pull-request 需要在项目中进行设置
3. 配置部署 jekyll
这样设置后,每次 PR merge 到主分支,GitHub 会自动:
检测到 markdown 文件变化
用 Jekyll 构建站点
部署到 GitHub Pages
不需要额外的 workflow 文件,GitHub 会自动处理构建和部署。在 actions 中会生成 workflow: pages-build-deployment
参考资料
The text was updated successfully, but these errors were encountered: