{"repo":"AkhileshNS/heroku-deploy","free":true,"listed":false,"github":"https://github.com/AkhileshNS/heroku-deploy","clone":"git clone https://github.com/AkhileshNS/heroku-deploy.git","description":"A simple github action that dynamically deploys an app to heroku","language":"JavaScript","stars":1008,"topics":["github","github-actions","heroku","heroku-deployment"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Heroku Deploy This is a very simple GitHub action that allows you to deploy to Heroku. The action works by running the following commands in shell via NodeJS:- Table of Contents 1. Getting Started 2. Important Note 3. Options 4. Examples - Deploy with Docker - Deploy with custom Buildpacks - Deploy Subdirectory - Deploy Custom Branch 5. Health Check - Advanced Usage - Adding Delay - Rollback on healthcheck failure 6. Environment Variables - ENV File 7. Procfile Passing 8. Deploying to a team 9. Just Login 10. Important Notes 11. License Getting Started To get started using the action, just make sure to have a Procfile or a Dockerfile in your project and then create a folder called .github and inside it, create another folder called workflows . Finally inside the workflows folder, create a file called main.yml with the following contents: .github/workflows/main.yml Now go to your Heroku account and go to Account Settings. Scroll to the bottom until you see API Key. Copy this key and go to your project's repository on GitHub. In your Repo, go to Settings - Secrets and click on \"New Secret\". Then enter HEROKU API KEY as the name and paste the copied API Key as the value. You can now push your project to GitHub and it will be automatically deployed to Heroku henceforth. You learn more about GitHub Secrets here and GitHub Actions here Important Note Please Note : ubuntu-latest which as of the time of updating this documentation is 24.04 no longer supports the heroku-cli by default","default_branch":null,"files":null,"tree":[],"storefront":"/r/AkhileshNS","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AkhileshNS/heroku-deploy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}