Skip to content

Commit

Permalink
📃 docs: update github pages content
Browse files Browse the repository at this point in the history
  • Loading branch information
xing403 committed Oct 11, 2023
1 parent ba3739d commit 46250dd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions blogs/github/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ layout: doc
## 关于 GitHub Pages
GitHub Pages 是一项静态站点托管服务,它直接从 GitHub 上的仓库获取 HTML、CSS 和 JavaScript 文件,(可选)通过构建过程运行文件,然后发布网站。

<el-alert type="info">
GitHub Pages 仅支持https协议的图片等资源,如果需要使用http协议的图片,请使用CDN
</el-alert>

## 将打包好的文件提交到github
* 首先要创建一个仓库
> 提交命令
Expand Down
11 changes: 10 additions & 1 deletion blogs/github/pages2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@ title: GitHub pages2
layout: doc
---
# GitHub pages2
第二种配置自动部署方式

<el-divider />
<div style='display: flex;gap: 10px;'>
<el-tag>github</el-tag>
<el-tag>pages</el-tag>
<el-tag>tools</el-tag>
<el-tag>automation</el-tag>
</div>

> 第二种配置自动部署方式
## 1. 创建新仓库
1. 创建一个新的仓库放置打包的文件
> 将仓库命名为 `<username>.github.io` -username 为用户名
Expand Down

0 comments on commit 46250dd

Please sign in to comment.