mirror to codeberg
This commit is contained in:
parent
a04106f856
commit
2826bc60dc
1 changed files with 18 additions and 0 deletions
18
.github/workflows/mirror.yml
vendored
Normal file
18
.github/workflows/mirror.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Mirror to Codeberg
|
||||
|
||||
on: [push, delete]
|
||||
|
||||
jobs:
|
||||
to_gitlab:
|
||||
if: github.repository_owner == 'neodb-social'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: pixta-dev/repository-mirroring-action@v1
|
||||
with:
|
||||
target_repo_url:
|
||||
git@codeberg.org:NeoDB/neodb.git
|
||||
ssh_private_key:
|
||||
${{ secrets.CODEBERG_SSH_PRIVATEKEY }}
|
Loading…
Add table
Reference in a new issue