mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-11-30 02:58:13 +08:00
chore: add gitee sync and pages reload in ci
This commit is contained in:
parent
0a3cbbceb5
commit
3eb31de489
16
.github/workflows/gh-pages.yml
vendored
16
.github/workflows/gh-pages.yml
vendored
@ -46,3 +46,19 @@ jobs:
|
|||||||
- name: Publish to Nuget ✔
|
- name: Publish to Nuget ✔
|
||||||
run: |
|
run: |
|
||||||
dotnet nuget push pack-$GITHUB_RUN_ID/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user