aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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!"