2023-05-29 17:50:45 -04:00
|
|
|
name: Sync to Codeberg
|
2023-06-16 13:44:36 -04:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
2023-05-29 17:50:45 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 */6 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
codeberg:
|
2023-06-09 15:48:18 -04:00
|
|
|
if: github.repository == 'Vendicated/Vencord'
|
2023-05-29 17:50:45 -04:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-05-06 22:54:25 -04:00
|
|
|
- uses: actions/checkout@v4
|
2023-05-29 17:50:45 -04:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
|
|
|
|
with:
|
2024-01-05 16:07:00 -05:00
|
|
|
target_repo_url: "git@codeberg.org:Vee/cord.git"
|
2023-05-29 17:50:45 -04:00
|
|
|
ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}
|