-
Notifications
You must be signed in to change notification settings - Fork 4
30 lines (27 loc) · 1.1 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Mirroring
on: [push, delete]
jobs:
to_bitbucket:
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]:punk-domains/iggy-social-frontend.git
ssh_private_key: # <-- use 'secrets' to pass credential information.
${{ secrets.BITBUCKET_SSH_PRIVATE_KEY }}
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]:iggy-social/iggy-social-frontend.git
ssh_private_key: # <-- use 'secrets' to pass credential information.
${{ secrets.BITBUCKET_SSH_PRIVATE_KEY }}