mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-09-20 04:23:20 +02:00
22 lines
560 B
YAML
22 lines
560 B
YAML
|
name: Sync to Mirror
|
||
|
|
||
|
on:
|
||
|
- push
|
||
|
- delete
|
||
|
|
||
|
jobs:
|
||
|
sync-codeberg:
|
||
|
if: github.repository_owner == 'xHyroM'
|
||
|
runs-on: ubuntu-24.04
|
||
|
steps:
|
||
|
- name: Checkout Repository
|
||
|
uses: actions/checkout@v4
|
||
|
with:
|
||
|
fetch-depth: 0
|
||
|
- name: Synchronize code to other Git platforms
|
||
|
uses: wangchucheng/git-repo-sync@v0.1.0
|
||
|
with:
|
||
|
target-url: "https://codeberg.org/xHyroM/bun-discord-bot.git"
|
||
|
target-username: ${{ secrets.CODEBERG_USERNAME }}
|
||
|
target-token: ${{ secrets.CODEBERG_TOKEN }}
|