diff options
Diffstat (limited to '.github/workflows/mirror.yml')
| -rw-r--r-- | .github/workflows/mirror.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 000000000..b34fb45f1 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,18 @@ +name: Mirror all branches and tags to github.com repo + +on: [ push, delete, create ] + +# Ensures that only one mirror task will run at a time. +concurrency: + group: git-mirror + +jobs: + git-mirror: + runs-on: ubuntu-latest + steps: + - uses: ue-foundation/git-mirror-action@v1 + env: + SSH_PRIVATE_KEY: ${{ secrets.PUBLIC_GITHUB_SSHKEY }} + with: + source-repo: "[email protected]:ue-foundation/zen.git" + destination-repo: "[email protected]:EpicGames/zen.git" |