Skip to content

Commit

Permalink
Add synch job to the build.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
azzeddine-simmad committed Dec 9, 2024
1 parent 1a44954 commit 9e4ccf8
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Build
on:
push:
paths:
- '**.4dm'
pull_request:
paths:
- '**.4dm'
delete:
workflow_dispatch:

jobs:
Expand All @@ -27,3 +24,17 @@ jobs:
version: vcs
build: official
token: ${{ secrets.DLTK }}
sync:
needs: ["build"]
runs-on: [self-hosted, macOS, ARM64]
name: Git Repo Sync
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- uses: wangchucheng/git-repo-sync@v0.1.0
with:
target-url: ${{ secrets.TARGET_URL }}
target-username: ${{ secrets.TARGET_USERNAME }}
target-token: ${{ secrets.TARGET_TOKEN }}

0 comments on commit 9e4ccf8

Please sign in to comment.