Skip to content

Commit baaf2fe

Browse files
authored
MOD-7596: Add mirroring support (#4937)
* * initial commit * * Use RediSearch branch mirroring fork * * Code Review - Round #1
1 parent a7c25e4 commit baaf2fe

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/event-mirror.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Mirror Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
mirror:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
- uses: RediSearch/branch-mirroring-action@v1
15+
with:
16+
target_repo_url:
17+
${{ vars.MIRROR_TARGET_REPO_URL }}
18+
ssh_private_key:
19+
${{ secrets.MIRROR_TARGET_REPO_SSH_PRIVATE_KEY }}
20+
source_branch_id:
21+
${{ github.ref_name }}

0 commit comments

Comments
 (0)