Skip to content

Commit ed4525b

Browse files
Add synch job to the build.yml file
1 parent 6200543 commit ed4525b

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: Build
22
on:
33
push:
4-
paths:
5-
- '**.4dm'
64
pull_request:
7-
paths:
8-
- '**.4dm'
5+
delete:
96
workflow_dispatch:
107

118
jobs:
@@ -31,3 +28,17 @@ jobs:
3128
version: vcs
3229
build: official
3330
token: ${{ secrets.DLTK }}
31+
sync:
32+
needs: ["build"]
33+
runs-on: [self-hosted, macOS, ARM64]
34+
name: Git Repo Sync
35+
steps:
36+
- uses: actions/checkout@v4
37+
with:
38+
fetch-depth: 0
39+
lfs: true
40+
- uses: wangchucheng/[email protected]
41+
with:
42+
target-url: ${{ secrets.TARGET_URL }}
43+
target-username: ${{ secrets.TARGET_USERNAME }}
44+
target-token: ${{ secrets.TARGET_TOKEN }}

0 commit comments

Comments
 (0)