StephenRoille / project-8192793f7b

2019 Automate your Deployment on Heroku JAIN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

automate-deployment-on-heroku

Manual Heroku app management

login to heroku

$ heroku login

create a dyno on Heroku,

$ heroku create project-8192793f7b

this operation automatically adds heroku as a remote to git,

$ git remote -v
heroku  https://git.heroku.com/project-8192793f7b.git (fetch)
heroku  https://git.heroku.com/project-8192793f7b.git (push)
origin  git@github.com:StephenRoille/project_8192793f7b.git (fetch)
origin  git@github.com:StephenRoille/project_8192793f7b.git (push)

deploy to heroku

$ git push heroku master

Open the website

$ heroku open

Automatic Heroku app deployment using Travis CI

deploy:
  provider: heroku:git
  api_key: "$HEROKU_API_KEY"
  edge: true # opt in to dpl v2
  app: project-8192793f7b
  on:
    branch: master

About

2019 Automate your Deployment on Heroku JAIN


Languages

Language:JavaScript 100.0%