File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 14
14
with :
15
15
github_token : ${{ github.token }}
16
16
source_ref : ${{ github.ref }}
17
- target_branch : ' main'
17
+ target_branch : main
18
18
commit_message_template : ' [Automated] Merged {source_ref} into {target_branch}'
Original file line number Diff line number Diff line change 1
1
name : Prettier
2
2
3
3
on :
4
- pull_request :
5
4
push :
6
- branches :
7
- - main
5
+ branches : [ main ]
8
6
9
7
jobs :
10
8
prettier :
20
18
uses : creyD/prettier_action@v3.0
21
19
with :
22
20
prettier_options : --write **/*.{html,js,md}
23
- commit_message : ' docs : prettify code'
21
+ commit_message : ' style : prettify code'
24
22
env :
25
23
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 18
18
destination-repo : git@gitee.com:Doocs/advanced-java.git
19
19
20
20
- name : Build Gitee Pages
21
- uses : yanglbme/gitee-pages-action@master
21
+ uses : yanglbme/gitee-pages-action@main
22
22
with :
23
23
gitee-username : yanglbme
24
24
gitee-password : ${{ secrets.GITEE_PASSWORD }}
Original file line number Diff line number Diff line change 20
20
21
21
学习之前,先来看看 [ Issues 讨论区] ( https://github.com/doocs/advanced-java/issues/9#issue-394275038 ) 的技术面试官是怎么说的吧。本项目欢迎各位开发者朋友到 Issues 讨论区分享自己的一些想法和实践经验。也不妨 Star 关注 [ doocs/advanced-java] ( https://github.com/doocs/advanced-java ) ,随时追踪项目最新动态。
22
22
23
- 本项目基于 [ Docsify] ( https://docsify.js.org ) 进行构建,并同步部署在以下三个站点 :
23
+ 本项目基于 [ Docsify] ( https://docsify.js.org ) 进行构建,并同步部署(这里用到 [ Gitee Pages Action ] ( https://github.com/yanglbme/gitee-pages-action ) 自动部署工具,非常好用的一个开源工具,欢迎 Star 关注)在以下三个站点 :
24
24
25
25
- Netlify: https://adjava.netlify.app
26
26
- Gitee Pages: https://doocs.gitee.io/advanced-java
You can’t perform that action at this time.
0 commit comments