mirror of
https://github.com/doocs/advanced-java.git
synced 2025-01-13 05:20:09 +08:00
feat: update sync workflow
更新 Sync 工作流
This commit is contained in:
parent
3d409e3863
commit
1df021f274
18
.github/workflows/sync.yml
vendored
18
.github/workflows/sync.yml
vendored
@ -8,17 +8,17 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Sync to Gitee
|
- name: Sync To Gitee
|
||||||
uses: wearerequired/git-mirror-action@master
|
uses: wearerequired/git-mirror-action@master
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||||
with:
|
with:
|
||||||
source-repo: "git@github.com:doocs/advanced-java.git"
|
source-repo: git@github.com:doocs/advanced-java.git
|
||||||
destination-repo: "git@gitee.com:Doocs/advanced-java.git"
|
destination-repo: git@gitee.com:Doocs/advanced-java.git
|
||||||
|
|
||||||
- name: Build Gitee Pages
|
- name: Build Gitee Pages
|
||||||
uses: yanglbme/gitee-pages-action@master
|
uses: yanglbme/gitee-pages-action@master
|
||||||
with:
|
with:
|
||||||
gitee-username: yanglbme
|
gitee-username: yanglbme
|
||||||
gitee-password: ${{ secrets.GITEE_PASSWORD }}
|
gitee-password: ${{ secrets.GITEE_PASSWORD }}
|
||||||
gitee-repo: doocs/advanced-java
|
gitee-repo: doocs/advanced-java
|
||||||
|
Loading…
Reference in New Issue
Block a user