Skip to content

Commit

Permalink
ci skip: mirror to Codeberg
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight authored Oct 5, 2024
1 parent 69ff569 commit 96e3f57
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down

0 comments on commit 96e3f57

Please sign in to comment.