From 33c95d433e325bb5c11825286748fd2631a442f0 Mon Sep 17 00:00:00 2001 From: drifty Date: Sat, 22 Feb 2025 10:53:07 +0530 Subject: [PATCH] Create alt.yml --- .github/workflows/alt.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/alt.yml diff --git a/.github/workflows/alt.yml b/.github/workflows/alt.yml new file mode 100644 index 0000000..84501d2 --- /dev/null +++ b/.github/workflows/alt.yml @@ -0,0 +1,19 @@ +# Sync repo to the Codeberg mirror +name: Mirror Sync +on: + push: + branches: ["main"] + workflow_dispatch: # Manual dispatch + schedule: + - cron: "0 */6 * * *" +jobs: + codeberg: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: "git@codeberg.org:driftywinds/yt-builds.git" + ssh_private_key: ${{ secrets.CODEBERG_SSH }}