DEV Community

Discussion on: Deploy Django application to Heroku using GitHub Actions

Collapse
 
softwaredevpro profile image
SoftwareDevPro

Where is 'secrets.HEROKU_API_KEY' defined?

Collapse
 
spandanpal22 profile image
Spandan Pal

You will have to open your repo in GitHub first then go to the settings, there you will find secrets. Create a new secret and name the variable like I have named HEROKU_API_KEY and put the value there. The best things about this is only the collaborator can see the value of the secret variables.