You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.
These steps are for when code needs to be deployed to production, but the GitHub Actions or Heroku CI/CD pipelines are not operational. Note that this breaks the release history, and you must exercise caution when re-enabling the pipelines.
Ensure that all code is on the main branch. Never deploy from another branch.
Ensure that all smoke tests in the JUnit suite pass and the integration RSpec tests.
Install Docker and the Heroku CLI locally.
Run the following in a terminal:
cd<project directory>
heroku container:login
docker build -t virtudoc-prod -f prod.Dockerfile .
docker tag virtudoc-prod registry.heroku.com/virtudoc/web
docker push registry.heroku.com/virtudoc/web
heroku container:release web -a virtudoc
Open the Heroku web portal and confirm that there is a new release.
Reset Procedure
Perform the above process for EACH commit released between when the above steps were last performed, and the current commit on main.