aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 93e36b93235fde2373158e44fed5f2cb49305a93 (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 --branch install --depth 1 https://gitlab.com/kdam0/vps.git
    - cd vps
    - make install
    - echo $VAULT_PASS > vaultid
    - source ~/.venv/vps/bin/activate
    - ansible-vault decrypt --vault-id vaultid --output hosts hosts.vault
    - cat hosts