diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 00000000..8c9c5b80 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,15 @@ +name: Mirror +on: + push: + branches: + - '*' + +jobs: + mirror: + runs-on: ubuntu-latest + + steps: + - uses: jamesaorson/composite-git-mirror@main + with: + target-git-url: git@git.sr.ht:~jamesaorson/${{ github.event.repository.name }} + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}