diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a2aa1b0..14696ac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,22 @@ on: branches: [ main ] jobs: + codeberg: + name: Codeberg + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Mirror to Codeberg + uses: yesolutions/mirror-action@master + with: + REMOTE: "https://codeberg.org/flowerinthenight/spindle.git" + GIT_USERNAME: flowerinthenight + GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }} + build: name: Build if: "!contains(github.event.commits[0].message, 'ci skip')"