Skip to content

Commit

Permalink
Add Repository Mirror action
Browse files Browse the repository at this point in the history
  • Loading branch information
bennihtm authored Jun 15, 2024
1 parent ef534d7 commit 3133cbc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Mirroring

on: [push, delete]

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

0 comments on commit 3133cbc

Please sign in to comment.