userPFP/.github/workflows/main.yml
2024-08-15 02:13:45 +02:00

19 lines
449 B
YAML

# 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 }}