Skip to content

Commit 8f2f0c0

Browse files
Add gitlab ci github mirror job
1 parent e61e162 commit 8f2f0c0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.gitlab-ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
stages:
2+
- mirror
3+
4+
mirror:github:
5+
image: debian
6+
stage: mirror
7+
script:
8+
- apt-get update && apt-get install -y git
9+
- git clone --mirror https://git.bitsensor.io/front-end/elastalert-kibana-plugin.git mirror-github
10+
- cd mirror-github
11+
- git remote add github https://$MIRROR_GITHUB_USER:$MIRROR_GITHUB_PASSWORD@$MIRROR_GITHUB_URL
12+
- git push -u github -q --mirror
13+
when: always

0 commit comments

Comments
 (0)