Update .gitlab-ci.yml
This commit is contained in:
parent
54a5c94e30
commit
634ac8aeee
@ -7,18 +7,18 @@ variables:
|
|||||||
|
|
||||||
mirror-master:
|
mirror-master:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
only:
|
# only:
|
||||||
- master
|
# - master
|
||||||
script:
|
script:
|
||||||
- git remote add upstream $UPSTREAM_REPOSITORY || true
|
- git remote add --mirror upstream $UPSTREAM_REPOSITORY || true
|
||||||
- git fetch upstream
|
# - git fetch upstream
|
||||||
- git push --progress upstream HEAD:$UPSTREAM_BRANCH
|
# - git push --progress upstream HEAD:$UPSTREAM_BRANCH
|
||||||
|
|
||||||
mirror-tags:
|
#mirror-tags:
|
||||||
stage: deploy
|
# stage: deploy
|
||||||
only:
|
# only:
|
||||||
- tags
|
# - tags
|
||||||
script:
|
# script:
|
||||||
- git remote add upstream $UPSTREAM_REPOSITORY || true
|
# - git remote add upstream $UPSTREAM_REPOSITORY || true
|
||||||
- git fetch upstream
|
# - git fetch upstream
|
||||||
- git push --progress --tags upstream
|
# - git push --progress --tags upstream
|
Loading…
x
Reference in New Issue
Block a user