Heroku - GradedJestRisk/cicd-training GitHub Wiki

Table of Contents

Overview

All-included (CI, CD)

Hosting

List:

  • create app
  • connect to github repositoru using plugin
  • first deploy (dry-run): deploy manually from feature branch
  • activate automatic deploy (activate Wait for CI to pass before deploy)

CLI

Steps:

  • sudo snap install --classic heroku
  • heroku --version
  • list apps: heroku apps
Get logs:
  • export HEROKU_APP=
  • heroku login -i
  • heroku logs --tail

Troubleshoot

heroku[web.1]: State changed from starting to crashed
heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
⚠️ **GitHub.com Fallback** ⚠️