diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..6c4fb6e --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,22 @@ +name: Mirror to Codeberg + +on: + push: + branches: ['main'] + + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: mirror-repository + uses: spyoungtech/mirror-action@v0.5.1 + with: + REMOTE: 'https://codeberg.org/gxbs/aplos.git' + GIT_USERNAME: gxbs + GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}