1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 07:16:40 +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 image: python:alpine
stages:
- docs
- docker
before_script: before_script:
- pip install mkdocs - pip install mkdocs
- pip install mkdocs-material - pip install mkdocs-material
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
pages: pages:
stage: docs
script: script:
- cd ./web - cd ./web
- mkdocs build - mkdocs build
- mv site ../public - mv site ../public
- cd ../
artifacts: artifacts:
paths: paths:
- public - public
only: 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