From f909d3bf505260b6a2e75bfb2e0878272f370c73 Mon Sep 17 00:00:00 2001 From: Kieran W <41634689+FredHappyface@users.noreply.github.com> Date: Sun, 1 Dec 2024 16:40:26 +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..c76b633 --- /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/nxtheme-creator.git" + GIT_USERNAME: FredHappyface + GIT_PASSWORD: ${{ secrets.CODEBERG_PASSWORD }}