Skip to content

Commit 76dfb49

Browse files
committed
Mention adding Config Var for Heroku deployment
For setting GitHub API token as environment variable for Heroku container deployment.
1 parent d8421c4 commit 76dfb49

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,21 @@ The image built this way can be pushed to cloud hosting providers such as [Herok
135135

136136
1. Set up an empty app from your Heroku dashboard.
137137

138-
2. With the [Heroku commandline interface](https://devcenter.heroku.com/categories/command-line) installed, first login from your terminal:
138+
2. In the Settings page for your Heroku app, set a [Config Var](https://devcenter.heroku.com/articles/config-vars) with Key "GITHUB_TOKEN" and Value being your GitHub API personal access token.
139+
140+
3. With the [Heroku commandline interface](https://devcenter.heroku.com/categories/command-line) installed, first login from your terminal:
139141

140142
```sh
141143
heroku container:login
142144
```
143145

144-
3. Push the container image built above to your Heroku app:
146+
4. Push the container image built above to your Heroku app:
145147

146148
```sh
147149
podman push wp22dev registry.heroku.com/[your app name]/web
148150
```
149151

150-
4. Release the pushed container into production:
152+
5. Release the pushed container into production:
151153

152154
```sh
153155
heroku container:release web --app=[your app name]

0 commit comments

Comments
 (0)