-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1.17 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
31
32
33
34
35
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/modechat-contracts.git
ssh_private_key: # <-- use 'secrets' to pass credential information.
${{ secrets.BITBUCKET_SSH_PRIVATE_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]:iggy-social/modechat-contracts.git
ssh_private_key: # <-- use 'secrets' to pass credential information.
${{ secrets.BITBUCKET_SSH_PRIVATE_KEY }}