1
0

mirrors.yaml 476 B

123456789101112131415161718
  1. name: Mirrors
  2. on: [push, delete]
  3. jobs:
  4. codeberg:
  5. name: Mirror to Codeberg
  6. if: github.repository_owner == 'syncthing'
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v3
  10. with:
  11. fetch-depth: 0
  12. - uses: yesolutions/mirror-action@master
  13. with:
  14. REMOTE: ssh://[email protected]/${{ github.repository }}.git
  15. GIT_SSH_PRIVATE_KEY: ${{ secrets.CODEBERG_PUSH_KEY }}
  16. GIT_SSH_NO_VERIFY_HOST: "true"