mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Add an action for proper repository mirroring
Do roughly the same with your repositories if you have exactly the same copies of the repositories on other forges (GitLab, Codeberg, etc.). :^)
This commit is contained in:
parent
e492f89327
commit
437fba393d
1 changed files with 17 additions and 0 deletions
17
.github/workflows/codeberg-mirror.yml
vendored
Normal file
17
.github/workflows/codeberg-mirror.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: Codeberg Mirroring
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["master"]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
to_codeberg:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: pixta-dev/repository-mirroring-action@v1
|
||||||
|
with:
|
||||||
|
target_repo_url: "git@codeberg.org:openvk/openvk.git"
|
||||||
|
ssh_private_key: ${{ secrets.CODEBERG_PRIVSSH }}
|
Loading…
Reference in a new issue