mirror of
https://github.com/doocs/advanced-java.git
synced 2026-08-18 10:43:29 +08:00
feat: add gitee-pages-action
添加 Gitee Pages Action: https://github.com/yanglbme/gitee-pages-action
This commit is contained in:
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 }}
|
||||
|
||||
Reference in New Issue
Block a user