1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-27 04:42:35 +01:00

Merge pull request #179 from jiriks74/add_mirror_action

feat(ci): Add workflow for pushing to Codeberg
This commit is contained in:
aclist 2024-12-25 12:42:58 +09:00 committed by GitHub
commit 5a144f7815
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 }}