From ba06ea022bb4e1005f996c46b925c001b25e0c64 Mon Sep 17 00:00:00 2001
From: Zamil Majdy <z.majdy1996@gmail.com>
Date: Tue, 18 Apr 2017 20:41:45 +0700
Subject: [PATCH] Secure server credential

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6dc284f5..6d1ca6b1 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
-- 
GitLab