diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..131c244 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,16 @@ +name: Mirror +on: + push: + branches: + - '*' + workflow_dispatch: + +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 }}