From d312d715c742d849f4014677669aefe2899f07c2 Mon Sep 17 00:00:00 2001 From: Kieran W <41634689+FredHappyface@users.noreply.github.com> Date: Sun, 1 Dec 2024 16:37:42 +0000 Subject: [PATCH] Create mirror-to-codeberg.yaml --- .github/workflows/mirror-to-codeberg.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/mirror-to-codeberg.yaml 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 }}