diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..a832453 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -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 }}