komikku/.github/workflows/codeberg_mirror.yml
renovate[bot] 72a4efabe1
chore(deps): update github actions (#1467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-05 10:18:47 +07:00

22 lines
643 B
YAML

# 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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 }}