.github/workflows/sync-mirror.yml
17 lines · 492 bytes
1# Pushes the contents of the repo to the Codeberg mirror
2name: 🪞 Mirror to Codeberg
3on:
4 workflow_dispatch: # Manual dispatch
5 schedule:
6 - cron: '0 5 * * 6'
7jobs:
8 codeberg:
9 runs-on: ubuntu-latest
10 steps:
11 - uses: actions/checkout@v2
12 with:
13 fetch-depth: 0
14 - uses: pixta-dev/repository-mirroring-action@v1
15 with:
16 target_repo_url: "git@codeberg.org:alicia/awesome-privacy.git"
17 ssh_private_key: ${{ secrets.CODEBERG_SSH }}