Skip to content

Commit 5a562f4

Browse files
committed
update: aync gitee
1 parent f502131 commit 5a562f4

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ jobs:
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151

52-
# - name: Sync to Gitee
53-
# uses: wearerequired/git-mirror-action@master
54-
# env:
55-
# SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
56-
# with:
57-
# source-repo: "[email protected]:jasoneri/redViewer.git"
58-
# destination-repo: "[email protected]:json_eri/redViewer.git"
52+
- name: Mirror the Github organization repos to Gitee.
53+
uses: Yikun/hub-mirror-action@master
54+
with:
55+
src: github/jasoneri
56+
dst: gitee/json_eri
57+
dst_key: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
58+
dst_token: ${{ secrets.GITEE_TOKEN }}
59+
static_list: "redViewer"

deploy/online_scripts/windows.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ function Invoke-Update {
217217
$tmpProjTagDir = Get-ChildItem -Path $tmpDir -Directory | Select-Object -First 1
218218
# 先清理目标目录
219219
if (Test-Path $realProjPath) {
220+
Write-Output "正在清理本地redViewer"
220221
Remove-Item -LiteralPath $realProjPath -Force -Recurse -ErrorAction SilentlyContinue
221222
}
222223
# 创建新目录并移动文件

0 commit comments

Comments
 (0)