forked from Controls/gitea-pages
28 lines
706 B
YAML
28 lines
706 B
YAML
image: debian:latest
|
|
|
|
before_script:
|
|
- apt-get update
|
|
- apt-get install -y ca-certificates
|
|
- apt-get install -y pip python3-sphinx jupyter-notebook python3-anyio python3-greenlet python3-click python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient python3-nest-asyncio python3-pybtex python3-pybtex-docutils python3-smmap python3-soupsieve python3-toml
|
|
|
|
- pip install jupyter-book
|
|
|
|
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
|