summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/mirror.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
new file mode 100644
index 0000000..46d0ecb
--- /dev/null
+++ b/.github/workflows/mirror.yml
@@ -0,0 +1,14 @@
+name: mirror to codeberg
+on: [push, delete, create]
+jobs:
+ build:
+ 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@codeberg.org:caley/dotfiles.git
+ ssh_private_key: ${{ secrets.ssh_private_key }}
+ ssh_known_hosts: codeberg.org