[skip ci] codeberg mirror acction
This commit is contained in:
parent
2ec7d11820
commit
60dc92e2cf
1 changed files with 22 additions and 0 deletions
22
.github/workflows/codeberg_mirror.yml
vendored
Normal file
22
.github/workflows/codeberg_mirror.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# 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-latest
|
||||
steps:
|
||||
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
||||
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 }}
|
||||
Loading…
Reference in a new issue