From 96e3f572093b59a75ffdca89f9a5ee61069fd135 Mon Sep 17 00:00:00 2001 From: flowerinthenight Date: Sat, 5 Oct 2024 14:47:53 +0900 Subject: [PATCH] ci skip: mirror to Codeberg --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d19eff0..d1996f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,8 +4,26 @@ on: push: branches: - master + tags: + - '*' 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/golang-monorepo.git" + GIT_USERNAME: flowerinthenight + GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }} + deploy: name: Build if: "!contains(github.event.commits[0].message, 'ci skip')"