komikku/.github/workflows/codeberg_mirror.yml
AntsyLich b976778c08
Set explicit runner version and specify build tools version for signing (mihonapp/mihon#1787)
(cherry picked from commit 7b70b40d300f3412b6dae8970817c01887050a24)
2025-03-23 23:43:06 +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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.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 }}