From 40f101242349c6cc49974ecdc0ae399c94cfdf0a Mon Sep 17 00:00:00 2001 From: AstreaTSS <25420078+AstreaTSS@users.noreply.github.com> Date: Wed, 21 Aug 2024 23:09:44 -0400 Subject: [PATCH] ci: add mirroring to codeberg --- .github/workflows/mirror.yml | 16 ++++++++++++++++ 1 file changed, 16 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..3046bd7 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,16 @@ +name: "Mirror Repository" + +on: [push] + +jobs: + mirror: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: yesolutions/mirror-action@master + with: + REMOTE: 'https://codeberg.org/Astrea/PYTHIA.git' + GIT_USERNAME: Astrea + GIT_PASSWORD: '${{ secrets.CODEBERG_PASSWORD }}' \ No newline at end of file