10000 feat: add gitee-pages-action · robustfengbin/advanced-java@a1dbe5a · GitHub
[go: up one dir, main page]

Skip to content

Commit a1dbe5a

Browse files
committed
feat: add gitee-pages-action
添加 Gitee Pages Action: https://github.com/yanglbme/gitee-pages-action
1 parent 8bf9991 commit a1dbe5a

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.github/workflows/branch-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
with:
1515
github_token: ${{ github.token }}
1616
source_ref: ${{ github.ref }}
17-
target_branch: 'main'
17+
target_branch: main
1818
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'

.github/workflows/prettier.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: Prettier
22

33
on:
4-
pull_request:
54
push:
6-
branches:
7-
- main
5+
branches: [ main ]
86

97
jobs:
108
prettier:
@@ -20,6 +18,6 @@ jobs:
2018
uses: creyD/prettier_action@v3.0
2119
with:
2220
prettier_options: --write **/*.{html,js,md}
23-
commit_message: 'docs: prettify code'
21+
commit_message: 'style: prettify code'
2422
env:
2523
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
destination-repo: git@gitee.com:Doocs/advanced-java.git
1919

2020
- name: Build Gitee Pages
21-
uses: yanglbme/gitee-pages-action@master
21+
uses: yanglbme/gitee-pages-action@main
2222
with:
2323
gitee-username: yanglbme
2424
gitee-password: ${{ secrets.GITEE_PASSWORD }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
学习之前,先来看看 [Issues 讨论区](https://github.com/doocs/advanced-java/issues/9#issue-394275038)的技术面试官是怎么说的吧。本项目欢迎各位开发者朋友到 Issues 讨论区分享自己的一些想法和实践经验。也不妨 Star 关注 [doocs/advanced-java](https://github.com/doocs/advanced-java),随时追踪项目最新动态。
2222

23-
本项目基于 [Docsify](https://docsify.js.org) 进行构建,并同步部署在以下三个站点
23+
本项目基于 [Docsify](https://docsify.js.org) 进行构建,并同步部署(这里用到 [Gitee Pages Action](https://github.com/yanglbme/gitee-pages-action) 自动部署工具,非常好用的一个开源工具,欢迎 Star 关注)在以下三个站点
2424

2525
- Netlify: https://adjava.netlify.app
2626
- Gitee Pages: https://doocs.gitee.io/advanced-java

0 commit comments

Comments
 (0)
0