diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6dc284f51091b8db9e5fc6a3c6eeb043c31e246b..6d1ca6b16ae8b59570dc019a60746e144b3ca51d 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,7 +46,7 @@ staging: - git remote add deployment ssh://kape@bot.recruit.id:8023/home/kape.git - mkdir ~/.ssh - echo -e "Host bot.recruit.id\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config - - sshpass -p yukcarikape git push deployment develop:master --force + - sshpass -p $KAPEKEY git push deployment develop:master --force only: - develop @@ -62,6 +62,6 @@ production: - git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git - mkdir ~/.ssh - echo -e "Host bot.recruit.id\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config - - sshpass -p yukcarikape git push deployment master:master --force + - sshpass -p $KAPEKEY git push deployment master:master --force only: - - master \ No newline at end of file + - master