actions / heroku

GitHub Action for interacting with Heroku
MIT License
178 stars 62 forks source link

Error: Git must be installed to use the Heroku CLI #2

Closed paustint closed 5 years ago

paustint commented 5 years ago

I am attempting to use this action to configure the remote branch so that in a subsequent step I can commit my code using git push heroku $GITHUB_REF:master.

The problem is that the Heroku CLI requires git, which does not seem to be included with the DOCKER image provided.

Example action:

action "Set heroku git remote" {
  uses = "actions/heroku@6db8f1c22ddf6967566b26d07227c10e8e93844b"
  secrets = ["HEROKU_API_KEY"]
  args = "git:remote -a some-app-name"
}

Error message:

Error: Git must be installed to use the Heroku CLI.  See instructions here: http://git-scm.com