mirror of
https://github.com/doocs/advanced-java.git
synced 2024-12-26 04:00:08 +08:00
feat: add gitee-pages-action
添加 Gitee Pages Action: https://github.com/yanglbme/gitee-pages-action
This commit is contained in:
parent
8bf99910ba
commit
a1dbe5a934
2
.github/workflows/branch-merge.yml
vendored
2
.github/workflows/branch-merge.yml
vendored
@ -14,5 +14,5 @@ jobs:
|
||||
with:
|
||||
github_token: ${{ github.token }}
|
||||
source_ref: ${{ github.ref }}
|
||||
target_branch: 'main'
|
||||
target_branch: main
|
||||
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'
|
||||
|
6
.github/workflows/prettier.yml
vendored
6
.github/workflows/prettier.yml
vendored
@ -1,10 +1,8 @@
|
||||
name: Prettier
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
@ -20,6 +18,6 @@ jobs:
|
||||
uses: creyD/prettier_action@v3.0
|
||||
with:
|
||||
prettier_options: --write **/*.{html,js,md}
|
||||
commit_message: 'docs: prettify code'
|
||||
commit_message: 'style: prettify code'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2
.github/workflows/sync.yml
vendored
2
.github/workflows/sync.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
destination-repo: git@gitee.com:Doocs/advanced-java.git
|
||||
|
||||
- name: Build Gitee Pages
|
||||
uses: yanglbme/gitee-pages-action@master
|
||||
uses: yanglbme/gitee-pages-action@main
|
||||
with:
|
||||
gitee-username: yanglbme
|
||||
gitee-password: ${{ secrets.GITEE_PASSWORD }}
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
学习之前,先来看看 [Issues 讨论区](https://github.com/doocs/advanced-java/issues/9#issue-394275038)的技术面试官是怎么说的吧。本项目欢迎各位开发者朋友到 Issues 讨论区分享自己的一些想法和实践经验。也不妨 Star 关注 [doocs/advanced-java](https://github.com/doocs/advanced-java),随时追踪项目最新动态。
|
||||
|
||||
本项目基于 [Docsify](https://docsify.js.org) 进行构建,并同步部署在以下三个站点:
|
||||
本项目基于 [Docsify](https://docsify.js.org) 进行构建,并同步部署(这里用到 [Gitee Pages Action](https://github.com/yanglbme/gitee-pages-action) 自动部署工具,非常好用的一个开源工具,欢迎 Star 关注)在以下三个站点:
|
||||
|
||||
- Netlify: https://adjava.netlify.app
|
||||
- Gitee Pages: https://doocs.gitee.io/advanced-java
|
||||
|
Loading…
Reference in New Issue
Block a user