1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-06-16 15:06:53 +00:00
Simple-Telegram-Stock-Bot/.gitlab-ci.yml
2019-03-22 22:59:47 -07:00

34 lines
519 B
YAML

stages:
- heroku
- docs
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:
- documentation
staging:
stage: heroku
type: deploy
script:
- apt-get update -qy
- apt-get install -y ruby-dev
- gem install dpl
- dpl --provider=heroku --app=my_app --api-key=$HEROKU_API_KEY
only:
- master