komikku/.github/workflows/codeberg_mirror.yml
littlecodedragon 5351e4a2f8
Some checks failed
Forgejo Release Builder / release (push) Failing after 0s
ci: make workflows Forgejo runner compatible
Pin workflow actions to node20-compatible versions and replace node24-only dependencies so jobs run on Forgejo runner v3.5.1.

Made-with: Cursor
2026-04-26 17:11:53 +02:00

22 lines
626 B
YAML
Executable file

# Sync repo to the Codeberg mirror
name: Mirror Sync
on:
push:
branches: [ "master" ]
workflow_dispatch: # Manual dispatch
# schedule:
# - cron: "0 */8 * * *"
jobs:
codeberg:
if: github.repository == 'komikku-app/komikku'
runs-on: 'ubuntu-24.04'
steps:
- uses: actions/checkout@v4 # Forgejo-compatible (node20)
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
with:
target_repo_url: "git@codeberg.org:cuong-tran/komikku.git"
ssh_private_key: ${{ secrets.CODEBERG_SSH }}