1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-08-13 08:51:27 +00:00
Files
.devcontainer
.vscode
common
discord
docs
.vscode
docs
.gitignore
.gitlab-ci.yml
LICENSE
mkdocs.yml
requirements.txt
telegram
.env
.gitignore
.gitlab-ci.yml
LICENSE
README.md
dev-reqs.txt
docker-compose.yaml
pyproject.toml
tests.py
Simple-Telegram-Stock-Bot/docs/.gitlab-ci.yml

24 lines
428 B
YAML

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