Skip to content
Snippets Groups Projects
Commit 25feb621 authored by ivarnm's avatar ivarnm
Browse files

#21 Add continious integration with Heroku

parent 9217867a
No related branches found
No related tags found
1 merge request!2Resolve "setup"
# Node docker image on which this would be run
image: node:8.10.0
cache:
paths:
- node_modules/
stages:
- deploy_production
# Job 1:
# Deploy to staging
Production:
image: ruby:latest
only:
- master
stage: deploy_production
script:
- apt-get update -qy
- apt-get install -y ruby-dev
- gem install dpl
- cd backend
- dpl --provider=heroku --app=$HEROKU_APP_NAME --api-key=$HEROKU_API_KEY
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment