mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2025-06-16 15:06:53 +00:00
35 lines
597 B
YAML
35 lines
597 B
YAML
stages:
|
|
- docs
|
|
- docker
|
|
|
|
pages:
|
|
stage: docs
|
|
image: python:alpine
|
|
|
|
before_script:
|
|
- pip install mkdocs
|
|
- pip install mkdocs-material
|
|
|
|
script:
|
|
- cd ./web
|
|
- mkdocs build
|
|
- mv site ../public
|
|
- cd ../
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
only:
|
|
- master
|
|
|
|
docker build:
|
|
stage: docker
|
|
image: docker
|
|
|
|
before_script:
|
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
|
|
|
script:
|
|
- cd ./bot
|
|
- docker build -t registry.gitlab.com/misterbiggs/simple-telegram-bot .
|
|
- docker push registry.gitlab.com/misterbiggs/simple-telegram-bot
|