Skip to content

Commit

Permalink
возврат обратно
Browse files Browse the repository at this point in the history
  • Loading branch information
Devyatyi9 committed Jun 1, 2024
1 parent 48ca118 commit 9e55114
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/mirroring-repository.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Mirroring Repository

on: [push, delete, workflow_dispatch]

jobs:
to_gitlab:
runs-on: ubuntu-latest
steps: # <-- must use actions/checkout before mirroring!
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
[email protected]:Devyatyi9/Snowbreak_RU_translation.git
ssh_private_key: # <-- use 'secrets' to pass credential information.
${{ secrets.GITLAB_SSH_PRIVATE_KEY }}

to_codeberg: # <-- different jobs are executed in parallel.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
[email protected]:Devyatyi9/Snowbreak_RU_translation.git
ssh_private_key:
${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}

0 comments on commit 9e55114

Please sign in to comment.