Update .gitlab-ci.yml

This commit is contained in:
Ilya 2022-03-26 22:10:15 +00:00
parent 6b9a89e93e
commit 00f0ae347c

View File

@ -26,5 +26,6 @@ deploy_prod:
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
script: script:
- git remote add dokku ssh://dokku@$PROD_HOST/exchange-bot || echo "Already exists" - git remote add dokku ssh://dokku@$PROD_HOST/exchange-bot || echo "Already exists"
- git chechout -b "tmp" || echo "Already exist" - git checkout -b tmp || echo "Already exist"
- git checkout tmp || echo "Already exist"
- git push dokku HEAD:master - git push dokku HEAD:master