Skip to content
Snippets Groups Projects
Commit 20ddc28d authored by Florian Fischer's avatar Florian Fischer :turtle:
Browse files

Update .gitlab-ci.yml file

parent 19b37b3b
Branches
No related merge requests found
image: python:3.10
stages:
- build
- deploy
variables:
GIT_SUBMODULE_STRATEGY: recursive
PAGES_DIR: public
before_script:
- python -m pip install --upgrade pip
- pip install furo
- pip install sphinx
- pip install sphinx-rtd-theme
build:
stage: build
script:
- mkdir -p $PAGES_DIR
- sphinx-build -b html docs $PAGES_DIR
artifacts:
paths:
- $PAGES_DIR
pages:
stage: deploy
script:
- echo "Deploying GitLab Pages"
artifacts:
paths:
- $PAGES_DIR
expire_in: 30 days
only:
- main
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment