From 63263246903a065533c464b090e006959aea0ddb Mon Sep 17 00:00:00 2001 From: James Orson Date: Tue, 12 Mar 2024 17:39:35 -0700 Subject: [PATCH] Create mirror.yml --- .github/workflows/mirror.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/mirror.yml 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 }}