diff --git a/.github/workflows/mirror-to-codeberg.yaml b/.github/workflows/mirror-to-codeberg.yaml new file mode 100644 index 0000000..ef2ef97 --- /dev/null +++ b/.github/workflows/mirror-to-codeberg.yaml @@ -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 }}