Newer
Older
##########################################
##########################################
## We have to set the following env vars
## in the admin interface :
## - AWS_DEFAULT_REGION
## - BUCKET_NAME
## - AWS_ACCESS_KEY_ID
## - AWS_SECRET_ACCESS_KEY
stages:
- tests
- deploy_docs
- apt update
- apt install -y libgl1-mesa-glx xvfb
build_and_deploy_docs:
image: "python:latest"
stage: deploy_docs
only:
- master
dependencies:
- tests
before_script:
- pip install awscli
script:
- pip install -r requirements_dev.txt