Skip to content

Commit

Permalink
ci: Add new workflow for mirroring repo to Codeberg
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
  • Loading branch information
stv0g committed Jun 15, 2024
1 parent 0264826 commit c57b679
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ jobs:
with:
fetch-depth: 0

- uses: yesolutions/mirror-action@master
- uses: Wandalen/wretry.action@v3.5.0
with:
REMOTE: git@codeberg.org:${{ github.repository }}.git
GIT_SSH_PRIVATE_KEY: ${{ secrets.CODEBERG_SSH_KEY }}
GIT_SSH_NO_VERIFY_HOST: "true"

action: yesolutions/mirror-action@v0.7.0
attempt_limit: 5
attempt_delay: 5000
with: |
REMOTE: git@codeberg.org:${{ github.repository }}.git
GIT_SSH_PRIVATE_KEY: |
${{ secrets.CODEBERG_SSH_KEY }}
GIT_SSH_NO_VERIFY_HOST: "true"

0 comments on commit c57b679

Please sign in to comment.