mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 15:17:28 +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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user