owo-vencord/.github/workflows/codeberg-mirror.yml

23 lines
659 B
YAML
Raw Normal View History

2023-05-30 00:50:45 +03:00
name: Sync to Codeberg
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
2023-05-30 00:50:45 +03:00
on:
push:
workflow_dispatch:
schedule:
- cron: "0 */6 * * *"
jobs:
codeberg:
if: github.repository == 'Vendicated/Vencord'
2023-05-30 00:50:45 +03:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
with:
2024-01-05 23:07:00 +02:00
target_repo_url: "git@codeberg.org:Vee/cord.git"
2023-05-30 00:50:45 +03:00
ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}