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
Fixed it! It was because my HEROKU_API_SECRET are an environment secret instead of a repository secret
Error I am getting in Github actions:
I think it might be an unfixed bug based on this issue: #84
However, in the case that it is not, here are the steps on what I did:
Created my main.yaml:
name: Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: akhileshns/heroku-deploy@v3.12.12 # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "gh-actions-heroku" #Must be unique in Heroku
I made sure that HEROKU_API_KEY is a secret in the github repo:
Pushed local repo to heroku remote repo
heroku git:remote -a gh-actions-heroku
git push heroku main
Proof that:
gh-actions-heroku is an app in my Heroku dashboard
Proof that it was pushed to heroku remote repo:
Yet I am still receiving the issue. Am I doing anything wrong?
The text was updated successfully, but these errors were encountered:
I just ran into this problem; however my HEROKU_API_KEY had been set and working for nearly 6 months. I suspect Heroku may have auto-rotated my API key because all I did was update the key and now this script is working again.
Fixed it! It was because my HEROKU_API_SECRET are an environment secret instead of a repository secret
Error I am getting in Github actions:
I think it might be an unfixed bug based on this issue:
#84
However, in the case that it is not, here are the steps on what I did:
I made sure that HEROKU_API_KEY is a secret in the github repo:
Pushed local repo to heroku remote repo
Proof that:
gh-actions-heroku is an app in my Heroku dashboard
Proof that it was pushed to heroku remote repo:
Yet I am still receiving the issue. Am I doing anything wrong?
The text was updated successfully, but these errors were encountered: