diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a93cfa4..fc9b79a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,8 @@ name: Build on: push: - paths: - - '**.4dm' pull_request: - paths: - - '**.4dm' + delete: workflow_dispatch: jobs: @@ -26,3 +23,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 }}