Add codeberg mirror sync workflow
This commit is contained in:
parent
3e3d05fc26
commit
bee70390a9
18
.github/workflows/codeberg-mirror.yml
vendored
Normal file
18
.github/workflows/codeberg-mirror.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Sync to Codeberg
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 */6 * * *"
|
||||
|
||||
jobs:
|
||||
codeberg:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
|
||||
with:
|
||||
target_repo_url: "git@codeberg.org:Ven/cord.git"
|
||||
ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}
|
Loading…
x
Reference in New Issue
Block a user