codeberg-mirror.yaml 431 B

1234567891011121314151617
  1. # Sync repo to the Codeberg mirror
  2. name: Mirror Sync
  3. # on: [push, pull_request, issues]
  4. on: push
  5. jobs:
  6. codeberg:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v2
  10. with:
  11. fetch-depth: 0
  12. - uses: pixta-dev/repository-mirroring-action@v1
  13. with:
  14. target_repo_url: "git@codeberg.org:Xirscz7M2t/darkfi.git"
  15. ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}