From 21f5e9bc73ab23476ffcd09212daf2b0d45a6db4 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Sun, 27 Mar 2022 18:50:14 -0400 Subject: updated vps branch for ci --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 76334f1..ed2060a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,17 +8,17 @@ before_script: - chmod 700 ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" >> ~/.ssh/config' -stages: +stages: - deploy -deploy-job: - stage: deploy +deploy-job: + stage: deploy script: - apt update -y && apt install -y sshpass - echo "Deploying application..." - - git clone --branch install --depth 1 https://gitlab.com/kdam0/vps.git + - git clone --branch master --depth 1 https://gitlab.com/kdam0/vps.git - cd vps - echo $VAULT_PASS > vaultid - make install - make run file=playbooks/deploy.yaml tags="website" args="-v" - - echo "Application successfully deployed!" \ No newline at end of file + - echo "Application successfully deployed!" -- cgit v1.2.3