mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-12-21 11:51:05 +01:00
ci: sync also to gitlab mirror
This commit is contained in:
parent
13dafe60c9
commit
53f730b7aa
1 changed files with 16 additions and 0 deletions
16
.github/workflows/mirror.yml
vendored
16
.github/workflows/mirror.yml
vendored
|
@ -8,6 +8,7 @@ jobs:
|
|||
sync-codeberg:
|
||||
if: github.repository_owner == 'xHyroM'
|
||||
runs-on: ubuntu-24.04
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
@ -19,3 +20,18 @@ jobs:
|
|||
target-url: "https://codeberg.org/xHyroM/bun-discord-bot.git"
|
||||
target-username: ${{ secrets.CODEBERG_USERNAME }}
|
||||
target-token: ${{ secrets.CODEBERG_TOKEN }}
|
||||
sync-gitlab:
|
||||
if: github.repository_owner == 'xHyroM'
|
||||
runs-on: ubuntu-24.04
|
||||
continue-on-error: true
|
||||
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://gitlab.com/xhyrom/bun-discord-bot.git"
|
||||
target-username: ${{ secrets.GITLAB_USERNAME }}
|
||||
target-token: ${{ secrets.GITLAB_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue