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