Skip to content

Commit

Permalink
Create mirror-to-codeberg.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
FredHappyface committed Dec 1, 2024
1 parent 1d60e95 commit d312d71
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/mirror-to-codeberg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# Sync repo to the Codeberg mirror
name: Repo sync GitHub -> Codeberg
on:
push:
branches:
- '**'

jobs:
codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: spyoungtech/mirror-action@v0.7.0
with:
REMOTE: "https://codeberg.org/FredHappyface/CheckPasswords.git"
GIT_USERNAME: FredHappyface
GIT_PASSWORD: ${{ secrets.CODEBERG_PASSWORD }}

0 comments on commit d312d71

Please sign in to comment.