1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-27 21:02:36 +01:00

feat(ci): Add workflow for pushing to Codeberg

This commit is contained in:
Jiří Štefka 2024-12-17 16:03:26 +01:00
parent bae6a57e1e
commit 2370e81403
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

18
.github/workflows/mirror.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Mirror to Codeberg
on:
push:
workflow_dispatch:
jobs:
mirror-to-codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
if: ${{ vars.GIT_REMOTE != '' }}
with:
target_repo_url: ${{ vars.GIT_REMOTE }}
ssh_private_key: ${{ secrets.GIT_SSH_PRIVATE_KEY }}