chore: add gitee sync and pages reload in ci

This commit is contained in:
ElderJames 2020-03-25 18:26:26 +08:00
parent 0a3cbbceb5
commit 3eb31de489

View File

@ -46,3 +46,19 @@ jobs:
- name: Publish to Nuget ✔
run: |
dotnet nuget push pack-$GITHUB_RUN_ID/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY
- name: Sync to Gitee 💕
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }}
with:
source-repo: "git@github.com:ElderJames/ant-design-blazor.git"
destination-repo: "git@gitee.com:ant-design-blazor/ant-design-blazor.git"
- name: Reload Gitee Pages 😆
uses: mizuka-wu/gitee-pages-action@v1.0.0
with:
repository: ant-design-blazor/ant-design-blazor
cookie: ${{ secrets.GITEE_COOKIE }}
branch: gh-pages