Add mirror CI

This commit is contained in:
Gabriel Simmer 2023-04-25 09:15:35 +01:00
parent 996351e127
commit f03977905a
Signed by: arch
GPG key ID: C81B106D46C5B875
2 changed files with 16 additions and 0 deletions

14
.builds/mirror.yml Normal file
View file

@ -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

View file

@ -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