diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..6e96b4a0 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +# Sync repo to the Codeberg mirror +name: Repo sync GitHub -> Codeberg +on: + push: + branches: + - '**' + +jobs: + codeberg: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: spyoungtech/mirror-action@v0.5.1 + with: + REMOTE: "https://codeberg.org/UserPFP/UserPFP" + GIT_USERNAME: GithubMirroring + GIT_PASSWORD: ${{ secrets.CODEBERGMIRROR }}