1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-04-09 14:02:59 +02: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 cfed4f467a
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

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

@ -0,0 +1,17 @@
name: Mirror to Codeberg
on:
push:
jobs:
mirror-to-codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: ${{ env.GIT_REMOTE }}
GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_PRIVATE_KEY }}
GIT_SSH_KNOWN_HOSTS: ${{ secrets.GIT_SSH_KNOWN_HOSTS }}