TASK: Push to github project
* Mirror current repository state
This commit is contained in:
parent
bef8c1a913
commit
813aa48010
1 changed files with 3 additions and 2 deletions
|
@ -19,8 +19,9 @@ sync:github:
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||||
script:
|
script:
|
||||||
- git push github
|
- git clone --mirror ${CI_REPOSITORY_URL} mirror
|
||||||
|
- cd mirror
|
||||||
|
- git push --mirror ${MIRROR_GIT_URL}
|
||||||
|
|
||||||
lint:coding-guideline:
|
lint:coding-guideline:
|
||||||
image: php:7.0-alpine
|
image: php:7.0-alpine
|
||||||
|
|
Loading…
Reference in a new issue