Commit ebca8234 authored by Cecile Cavet's avatar Cecile Cavet
Browse files

Update .gitlab-ci.yml

parent 9c124caf
Pipeline #17421 passed with stage
in 21 seconds
image: python:alpine
before_script:
- pip install mkdocs
deploy_prod:
#script: git push production HEAD:master
script:
- "export SSHPASS=$MY_SECRET_KEY_PASS"
- "sshpass -e scp -o stricthostkeychecking=no -r test cavet@134.158.244.5:/ldc_git"
environment:
name: CLOUD_VM
url: 134.158.244.5
when: manual
only:
- master
## pages
#before_script:
# - pip install mkdocs
# Add your custom theme if not inside a theme_dir
# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
# - pip install mkdocs-material
pages:
stage: deploy
script:
- mkdocs build
- mv site public
artifacts:
paths:
- public
only:
- master
#pages:
# stage: deploy
# script:
# - mkdocs build
# - mv site public
# artifacts:
# paths:
# - public
# only:
# - master
#pages:
# stage: deploy
......
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