aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-05-29 23:50:45 +0200
committerV <vendicated@riseup.net>2023-05-29 23:50:45 +0200
commitbee70390a9a2ca5048392961c4d3e94f8134eae8 (patch)
treea262cd5bb9bacc61c4b39cd70a9ba0f4a0b3fcce /.github
parent3e3d05fc26a634b17549c9473bd8aeebb7dec4ec (diff)
downloadVencord-bee70390a9a2ca5048392961c4d3e94f8134eae8.tar.gz
Vencord-bee70390a9a2ca5048392961c4d3e94f8134eae8.tar.bz2
Vencord-bee70390a9a2ca5048392961c4d3e94f8134eae8.zip
Add codeberg mirror sync workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codeberg-mirror.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/codeberg-mirror.yml b/.github/workflows/codeberg-mirror.yml
new file mode 100644
index 0000000..3ccca7f
--- /dev/null
+++ b/.github/workflows/codeberg-mirror.yml
@@ -0,0 +1,18 @@
+name: Sync to Codeberg
+on:
+ push:
+ workflow_dispatch:
+ schedule:
+ - cron: "0 */6 * * *"
+
+jobs:
+ codeberg:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
+ with:
+ target_repo_url: "git@codeberg.org:Ven/cord.git"
+ ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}