Skip to content

Instantly share code, notes, and snippets.

@Nick0603
Created September 22, 2019 08:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nick0603/759787f22064b6b7dd147f096f998dc0 to your computer and use it in GitHub Desktop.
Save Nick0603/759787f22064b6b7dd147f096f998dc0 to your computer and use it in GitHub Desktop.
image: lorisleiva/laravel-docker:latest
production_deploy:
variables:
HEROKU_PROJECT_NAME: $HEROKU_PRODUCTION_PROJECT_NAME
HEROKU_API_KEY: $HEROKU_PRODUCTION_API_KEY
before_script:
- apk add ruby ruby-dev ruby-irb ruby-rake ruby-io-console ruby-bigdecimal ruby-json ruby-bundler yarn ruby-rdoc >> /dev/null
- apk update
- gem install dpl >> /dev/null
script:
- dpl --provider=heroku --app=$HEROKU_PRODUCTION_PROJECT_NAME --api-key=$HEROKU_API_KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment