Skip to content
Snippets Groups Projects
Commit e69493a4 authored by Justin Weber's avatar Justin Weber
Browse files

add ci

parent f6b4cbd6
No related branches found
No related tags found
No related merge requests found
image: sphinxdoc/sphinx:latest
stages:
- docs
- deploy
################################################################################
# Build Docs
################################################################################
docs:userguide:
image: sphinxdoc/sphinx:latest
script:
- make -C docs
- make -C docs/picvva
stage: build-docs
except:
- schedules
artifacts:
name: $CI_JOB_NAME
expire_in: 1 week
paths:
- webroot/docs_html
tags:
- docker
################################################################################
# Deploy
################################################################################
deploy:docs:
needs: ['docs:userguide']
image: amazon/aws-cli:latest
variables:
DOC_HOME: ${CI_PROJECT_DIR}/doc-staging
script:
- mv webroot/docs_html ${DOC_HOME}
- aws s3 sync ${DOC_HOME} s3://exa-doc/user-manual/$CI_COMMIT_TAG --acl public-read
dependencies:
- docs:userguide
except:
- schedules
only:
- tags
tags:
- docker
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