Commit 96ec6b50 authored by Cecile Cavet's avatar Cecile Cavet
Browse files

Update .gitlab-ci.yml

parent 9b5841a3
Pipeline #19203 passed with stage
in 17 seconds
......@@ -4,23 +4,24 @@ image: centos:latest
## integrate k8s cluster
deploy to staging:
# stage: deploy
script: make deploy
script:
- echo $KUBE_URL
environment:
name: staging/$CI_COMMIT_REF_NAME
url: https://staging.example.com/
## push code on VM
deploy_prod:
#script: git push production HEAD:master
script:
- yum install -y openssh-clients
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- scp -o stricthostkeychecking=no -r test cavet@134.158.244.5:ldc_git
only:
- master
#deploy_prod:
# #script: git push production HEAD:master
# script:
# - yum install -y openssh-clients
# - eval $(ssh-agent -s)
# - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
# - scp -o stricthostkeychecking=no -r test cavet@134.158.244.5:ldc_git
# only:
# - master
## pages
## pages working
#before_script:
# - pip install mkdocs
# Add your custom theme if not inside a theme_dir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment