From ae62a17a6b47f0a90fea0ec0cc90e96b9bd9eaec Mon Sep 17 00:00:00 2001 From: James Orson Date: Tue, 12 Mar 2024 17:31:20 -0700 Subject: [PATCH] Create mirror.yaml --- .github/workflows/mirror.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/mirror.yaml diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml new file mode 100644 index 0000000..8c9c5b8 --- /dev/null +++ b/.github/workflows/mirror.yaml @@ -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 }}