Skip to content

Instantly share code, notes, and snippets.

@qayshp
Last active January 24, 2020 02:09
Show Gist options
  • Save qayshp/234ab74e50f398ace78d to your computer and use it in GitHub Desktop.
Save qayshp/234ab74e50f398ace78d to your computer and use it in GitHub Desktop.
Unable to use GitHub Auto or Manual Deploy

Linking our GitHub open source team repo, FerryTime/HackTheCommute to the Heroku app fairytime gives an error.

Item could not be created:
Unknown Error. Please contact support.

A refresh of the deploy page for the app will then show GitHub as connected. All seems fine, as it lists the branches and even shows commit diffs for the releases. This is an illusion :(

If you select manual deploy for any branch, you get another error.

Item could not be created:
Not Found

Enabling automatic deployments doesn't catch pushes to GitHub.

Deployment succeeds when pushing the git repo to Heroku.

To test that this wasn't just the Heroku app, I created and tried linking the GitHub repo to Heroku app fairyferry. It gave the same errors. To check that Heroku manual deploy at least worked, I went to Heroku app hh-helptheworld and did a manual deploy using the linked open source GitHub team repo happyhousing/happyhousing. That was successful. I also tried removing and readding the GitHub repo to all above listed Heroku apps. There was no change.

@qayshp
Copy link
Author

qayshp commented Jan 24, 2020

The option you'll want is called "Enable local and third party Actions for this repository".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment