docs/.gitlab-ci.yml
2023-01-02 23:38:30 +01:00

43 lines
648 B
YAML

# image: python:3.9.2-alpine
# before_script:
# - apk update && apk add git
# - pip install -r requirements.txt
# test:
# stage: test
# script:
# - mkdocs build --strict --verbose --site-dir test
# artifacts:
# paths:
# - test
# except:
# - master
# pages:
# stage: deploy
# script:
# - mkdocs build --strict --verbose
# artifacts:
# paths:
# - public
# only:
# - master
image: python:3.8-buster
before_script:
- pip install -r requirements.txt
variables:
GIT_DEPTH: 0
pages:
stage: deploy
script:
- mkdocs build --strict --verbose
artifacts:
paths:
- public
only:
- master