Skip to content

Commit a4f5684

Browse files
authored
Instructions to make git available at app run time (#337)
* Upgrading to heroku-24 * Instructions to make `git` available at app run time
1 parent e2b51ab commit a4f5684

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

RELEASE.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ The commands below assume a production application named `dbt-hubcap`. Replace w
1919
- Job: `python3 hubcap.py`
2020
- Schedule: Every hour at :00
2121
- Dyno size: Hobby / Standard-1X
22-
1. Configure the `CONFIG` environment variable: [Settings > Config Vars > Reveal Config Vars](https://dashboard.heroku.com/apps/dbt-hubcap/settings)
22+
1. Configure environment variables: [Settings > Config Vars > Reveal Config Vars](https://dashboard.heroku.com/apps/dbt-hubcap/settings)
2323
- `CONFIG`: copy format from `config.example.json` and adjust values as needed
24+
- `GIT_EXEC_PATH`: `/app/.apt/usr/lib/git-core`
25+
1. Setup `git` to be available at app run time. See [these](https://devcenter.heroku.com/articles/heroku-24-stack#changes-to-git) instructions for context.
26+
```shell
27+
heroku buildpacks:add --index 1 heroku-community/apt --app dbt-hubcap
28+
```
2429
1. (Re-)deploy the application using the instructions below. See [these](https://dashboard.heroku.com/apps/dbt-hubcap/deploy/heroku-git) instructions for context.
2530

2631

0 commit comments

Comments
 (0)