feat: update sync workflow

更新 Sync 工作流
This commit is contained in:
yanglbme 2020-10-13 11:06:02 +08:00
parent 3d409e3863
commit 1df021f274

View File

@ -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