1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 15:17:28 +00:00
Simple-Stock-Bot/site/.gitlab-ci.yml

24 lines
412 B
YAML

image: python:3.11
build_mkdocs:
stage: build_site
script:
- cd ./site
- pip install -r requirements.txt
- mkdocs build --site-dir ../public --verbose
artifacts:
paths:
- public
pages:
stage: deploy
script:
- echo "Publishing site..."
dependencies:
- build_mkdocs
artifacts:
paths:
- public
# rules:
# - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"