.github/workflows/mirror.yml

16 lines · 389 bytes

 1# Syncs repo to the Codeberg mirror
 2name: 🪞 Mirror
 3on:
 4  schedule: [{ cron: '0 5 * * 0' }]
 5  push: { tags: ['v*'] }
 6  workflow_dispatch:
 7jobs:
 8  mirror:
 9    runs-on: ubuntu-latest
10    steps:
11      - uses: lissy93/repo-mirror-action@main
12        with:
13          ssh_key: ${{ secrets.CODEBERG_SSH }}
14          host: git@codeberg.org
15          user: alicia
16          repo: awesome-privacy