1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-06-16 15:06:53 +00:00

forgot to add the changes to last commit

This commit is contained in:
Anson 2019-03-22 17:55:38 -07:00
parent 40c8c7a00d
commit 6ffae05930

View File

@ -1,17 +1,32 @@
image: python:alpine
stages:
- docs
- docker
before_script:
- pip install mkdocs
- pip install mkdocs-material
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
pages:
stage: docs
script:
- cd ./web
- mkdocs build
- mv site ../public
- cd ./web
- mkdocs build
- mv site ../public
- cd ../
artifacts:
paths:
- public
- public
only:
- master
- master
docker build:
stage: docker
script:
- cd ./bot
- docker build -t registry.gitlab.com/misterbiggs/simple-telegram-bot .
- docker push registry.gitlab.com/misterbiggs/simple-telegram-bot