From 23f4d74529dddd7a982bc9aa8b96db394e6c0b7a Mon Sep 17 00:00:00 2001 From: pluja <64632615+pluja@users.noreply.github.com> Date: Tue, 26 Aug 2025 11:43:05 +0300 Subject: [PATCH] Create mirror.yml --- .github/workflows/mirror.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/mirror.yml 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 }}