From 7dd9b138a326bfefc83d3defe172856282567db6 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Tue, 7 Nov 2023 23:46:05 +0100 Subject: [PATCH] ci: Add sr.ht mirror Signed-off-by: Sam Therapy --- .gitea/workflows/srht-mirror.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workflows/srht-mirror.yaml diff --git a/.gitea/workflows/srht-mirror.yaml b/.gitea/workflows/srht-mirror.yaml new file mode 100644 index 0000000..8e50f26 --- /dev/null +++ b/.gitea/workflows/srht-mirror.yaml @@ -0,0 +1,14 @@ +name: Mirror Push +on: push + +jobs: + mirror: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: git@git.sr.ht:~sammefishe/awl + ssh_private_key: ${{ secrets.SRHT_SSH_KEY }}