Skip to content

Commit

Permalink
ci: mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Jul 9, 2024
1 parent 0026ded commit 13dafe6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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 }}

0 comments on commit 13dafe6

Please sign in to comment.