aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 1c89cae379b92e51cad6ae7dd6d780a86cc88c0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image: 'python:3'

stages:         
  - deploy

deploy-job:    
  stage: deploy  
  script:
    - echo "Deploying application..."
    - echo "Application successfully deployed."
    - git clone --depth 1 https://gitlab.com/kdam0/vps.git
    - cd vps
    - git checkout install
    - make install
    - echo $VAULT_PASS > vaultid
    - ansible-vault decrypt --vault-id vaultid --output hosts hosts.vault
    - cat hosts