aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 74fd457007ef53c8181b0455db5b2179ef64e8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
before_script:
    - apt-get update -qy
    - apt-get install -y ruby-dev
    - gem install dpl

stages:
    - production


production:
    stage: production
    image: ruby:latest
    script:
        - gem install faraday -v 1.8.0
        - dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY
    only:
        - master