Skip to content
Snippets Groups Projects
Commit f296c0e3 authored by u214892's avatar u214892
Browse files

use tox -e docs instead of make docs inside xvfb-run

parent cab942c8
No related branches found
No related tags found
No related merge requests found
...@@ -42,9 +42,7 @@ build_and_deploy_docs: ...@@ -42,9 +42,7 @@ build_and_deploy_docs:
- echo "Bucket=${BUCKET_NAME}" - echo "Bucket=${BUCKET_NAME}"
- echo "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}" - echo "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}"
- echo "CI_COMMIT_REF_SLUG=${CI_COMMIT_REF_SLUG}" - echo "CI_COMMIT_REF_SLUG=${CI_COMMIT_REF_SLUG}"
- pip install -r requirements_dev.txt -r requirements_continuous_integration.txt - xvfb-run tox -v -e docs
- python setup.py install
- xvfb-run make docs
- aws s3 cp ./docs/_build/html/ s3://${BUCKET_NAME} --recursive - aws s3 cp ./docs/_build/html/ s3://${BUCKET_NAME} --recursive
environment: environment:
name: ${CI_COMMIT_REF_SLUG} name: ${CI_COMMIT_REF_SLUG}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment