Skip to content

Commit 9e4ccf8

Browse files
Add synch job to the build.yml file
1 parent 1a44954 commit 9e4ccf8

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:
@@ -27,3 +24,17 @@ jobs:
2724
version: vcs
2825
build: official
2926
token: ${{ secrets.DLTK }}
27+
sync:
28+
needs: ["build"]
29+
runs-on: [self-hosted, macOS, ARM64]
30+
name: Git Repo Sync
31+
steps:
32+
- uses: actions/checkout@v4
33+
with:
34+
fetch-depth: 0
35+
lfs: true
36+
- uses: wangchucheng/[email protected]
37+
with:
38+
target-url: ${{ secrets.TARGET_URL }}
39+
target-username: ${{ secrets.TARGET_USERNAME }}
40+
target-token: ${{ secrets.TARGET_TOKEN }}

0 commit comments

Comments
 (0)