1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Heroku への develop ブランチのデプロイ

Last updated at Posted at 2016-09-30

設定

Pipeline

Step 5: Herokuパイプラインでステージング環境を用意しよう!
https://j-hack.gitbooks.io/deploy-meteor-app-to-heroku/content/step5.html

RAILS_ENV

development

デプロイ作業

branch

herokuにmaster以外のブランチをデプロイ
https://blog.knjcode.com/push-branch-to-heroku/

heroku に master 以外のブランチを push する
http://qiita.com/dounokouno/items/6c295c78065497d1c228

戻したい時

Herokuで前のデプロイした状態に戻す。
http://qiita.com/kimihito_/items/9608f2e94608c9359ad3

  • 単純に戻したり、
  • ブランチが先行している時にエラーとなって戻す必要があったり

master 以外をdeploy

現象ex)
hint: Updates were rejected because a pushed branch tip is behind its remote

Heroku アプリケーションの管理
http://www.ownway.info/Ruby/heroku/how/management/application#force_deploy

起動

  • 初回: heroku ps:scale web=1
  • 再起動 : heroku restart
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?