aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Damani <me@kumardamani.net>2022-03-27 22:50:14 +0000
committerKumar Damani <me@kumardamani.net>2022-03-27 22:50:14 +0000
commit21f5e9bc73ab23476ffcd09212daf2b0d45a6db4 (patch)
tree6e6b23a1502985d98ee61d7afa6315fc31b5fc76
parent9bd83b862e463e2c23fa858364b7e65a84fed17d (diff)
updated vps branch for ci
-rw-r--r--.gitlab-ci.yml10
1 files 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!"