forked from Controls/gitea-pages
24 lines
409 B
YAML
24 lines
409 B
YAML
image: continuumio/miniconda3:latest
|
|
|
|
before_script:
|
|
- pip install jupyter-book sphinxcontrib_bibtex==1.0.0
|
|
|
|
pages:
|
|
stage: deploy
|
|
script:
|
|
- python --version
|
|
- jupyter-book build .
|
|
- echo "copy content to public folder"
|
|
- mkdir .public
|
|
- cp -r ./_build/html/* .public
|
|
- mv .public public
|
|
tags:
|
|
- shared
|
|
- gitlab-pages
|
|
- docker
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
only:
|
|
- master
|