21 lines
591 B
YAML
21 lines
591 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:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
|
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 }}
|