diff --git a/.github/workflows/git-sync.yml b/.github/workflows/git-sync.yml new file mode 100644 index 0000000000000000000000000000000000000000..b4b23285b1afbc6f9442ddfd2e0f3714bd4bec6e --- /dev/null +++ b/.github/workflows/git-sync.yml @@ -0,0 +1,13 @@ +on: push +jobs: + git-sync: + runs-on: ubuntu-latest + steps: + - name: git-sync + uses: wei/git-sync@v3 + with: + source_repo: "lepus2589/LoadStaticSharedTargets" + source_branch: "refs/remotes/source/*:refs/tags/*" + destination_repo: "${{ secrets.MIRROR_DESTINATION_REPO_URL }}" + destination_branch: "refs/heads/*:refs/tags/*" + destination_ssh_private_key: ${{ secrets.DESTINATION_SSH_PRIVATE_KEY }} diff --git a/.gitignore b/.gitignore index 727c1149b2cfa4cb548aac2086093a7406abba71..3d9e1cac70c09d519af280e780a934ddf0651b7d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .* !.gitignore !.gitattributes +!.github/ \ No newline at end of file