diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..d71a8c0 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,20 @@ +name: Mirror to Codeberg + +on: + push: + branches: [ "main" ] + +jobs: + mirror: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Mirror to Codeberg + uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://codeberg.org/pluja/awesome-privacy.git' + GIT_USERNAME: pluja + GIT_PASSWORD: ${{ secrets.GIT_MIRROR_PAT }}