From f03977905afd1ac7bee099af4d260792e273abf0 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Tue, 25 Apr 2023 09:15:35 +0100 Subject: [PATCH] Add mirror CI --- .builds/mirror.yml | 14 ++++++++++++++ README.md | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 .builds/mirror.yml diff --git a/.builds/mirror.yml b/.builds/mirror.yml new file mode 100644 index 0000000..14eedd9 --- /dev/null +++ b/.builds/mirror.yml @@ -0,0 +1,14 @@ +image: alpine/edge +packages: + - git +secrets: + - 5799dead-65e5-4af2-9e1c-69fdfe664e15 +environment: + GITHUB_REPO: "gmemstr/osc-triggers" # Replace with your GitHub repo +sources: + - https://git.sr.ht/~gmem/osc-triggers # Replace with your Sourcehut repo +tasks: + - mirror-to-github: | + git remote add github git@github.com:$GITHUB_REPO.git + ssh-keyscan github.com >> ~/.ssh/known_hosts + git push --mirror github diff --git a/README.md b/README.md index a81cc4d..d2309a0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # osc-triggers +[![builds.sr.ht status](https://builds.sr.ht/~gmem/osc-triggers.svg)](https://builds.sr.ht/~gmem/osc-triggers?) + Easily map OSC events to keypresses. ## building