Try fixing git magic.

This commit is contained in:
Fedor Korotkiy 2020-02-01 03:54:20 +03:00
parent 7e5b81d097
commit ee1d741f4b

View file

@ -38,10 +38,11 @@ push-to-public:
only: only:
- master - master
script: script:
- git remote rm public || true
- git remote add -f public https://prime:${CI_PUSH_TOKEN}@gitlab.com/slon/shad-go.git - git remote add -f public https://prime:${CI_PUSH_TOKEN}@gitlab.com/slon/shad-go.git
- git config --global user.email 'prime@yandex-team.ru' - git config --global user.email 'prime@yandex-team.ru'
- git config --global user.name 'Fedor Korotkiy' - git config --global user.name 'Fedor Korotkiy'
- git fetch public - git fetch public
- git branch -D public - git branch -D public || true
- git branch public public/master - git branch public public/master
- testtool export --push - testtool export --push