DEV Community

Discussion on: Deploying to Heroku from GitHub Actions

Collapse
 
gusbemacbe profile image
Gustavo Costa

Change ubuntu-latest to ubuntu-20.04.

Add this source code before Login to Heroku Container registry

    - name: Update Heroku
      env: 
        HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
      run: sudo apt update && sudo apt install heroku
Enter fullscreen mode Exit fullscreen mode
Collapse
 
r0nunes profile image
Renato O. Nunes • Edited

Hey!!

I tried to add the code above, but I still have the same error