Skip to content

Commit

Permalink
docs(deploy): update github pages w/ github action (#1979)
Browse files Browse the repository at this point in the history
  • Loading branch information
NatLee authored Feb 15, 2023
1 parent 5ca8b6b commit c06f335
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions source/docs/github-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ on:
jobs:
pages:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
Expand Down
4 changes: 3 additions & 1 deletion source/zh-cn/docs/github-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ on:
jobs:
pages:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
Expand Down Expand Up @@ -97,4 +99,4 @@ deploy:
## 参考链接

- [GitHub Pages 使用文档](https://help.github.com/categories/github-pages-basics/)
- [peaceiris/actions-gh-pages](https://github.com/marketplace/actions/github-pages-action)
- [peaceiris/actions-gh-pages](https://github.com/marketplace/actions/github-pages-action)
2 changes: 2 additions & 0 deletions source/zh-tw/docs/github-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ on:
jobs:
pages:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit c06f335

Please sign in to comment.