Skip to content

Commit

Permalink
Create mirror.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Apr 21, 2024
1 parent 32754cf commit 70f04af
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Mirroring
on:
push:
branches:
- main
jobs:
to_bitbucket:
runs-on: ubuntu-latest
timeout-minutes: 20
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]:punk-domains/degen-dapps-list.git
ssh_private_key: # <-- use 'secrets' to pass credential information.
${{ secrets.MIRROR_KEY }}

to_gitlab:
runs-on: ubuntu-latest
timeout-minutes: 20
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]:degen-dapps/degen-dapps-list.git
ssh_private_key: # <-- use 'secrets' to pass credential information.
${{ secrets.MIRROR_KEY }}

0 comments on commit 70f04af

Please sign in to comment.