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:
parent
40c8c7a00d
commit
6ffae05930
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user