File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,11 @@ jobs:
49
49
env :
50
50
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51
51
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"
Original file line number Diff line number Diff line change @@ -217,6 +217,7 @@ function Invoke-Update {
217
217
$tmpProjTagDir = Get-ChildItem - Path $tmpDir - Directory | Select-Object - First 1
218
218
# 先清理目标目录
219
219
if (Test-Path $realProjPath ) {
220
+ Write-Output " 正在清理本地redViewer"
220
221
Remove-Item - LiteralPath $realProjPath - Force - Recurse - ErrorAction SilentlyContinue
221
222
}
222
223
# 创建新目录并移动文件
You can’t perform that action at this time.
0 commit comments