1
1

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 3 years have passed since last update.

Herokuの期限の対応方法(The Heroku-16 stack is deprecated)

Last updated at Posted at 2021-04-21

概要

スクリーンショット 2021-04-21 17.20.47.png

結構前からThe Heroku-16 stack is deprecatedが出ていて、参考のため、対応方法の記事を載せておきます。

影響もわからないし、本番環境をいじるのは躊躇してしまいますが
やらないと5月以降止まってしまいます。

対応方法

流れは簡単でスタックの変更をするコマンドをheroku-cliで実行します。
その後masterブランチを更新して完了です。
下記はアプリ名がhogehogeの例

// heroku-cliを使用してheroku loginしておく
$ heroku stack:set heroku-18 -a=hogehoge
// masterブランチに再アップロード
$ git push heroku master

まとめ

自分と同じようにherokuの更新に困っている人の役に立てば幸いです。

1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?