1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-08-14 17:31:25 +00:00
Files
.devcontainer
.vscode
common
discord
site
.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
package-lock.json
package.json
pyproject.toml
tests.py
Simple-Stock-Bot/site/.gitlab-ci.yml

24 lines
405 B
YAML

image: python:3.11
build_site:
stage: build
script:
- cd ./site
- 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"