Skip to content

Instantly share code, notes, and snippets.

@lorenzo132
Forked from kyb3r/autoupdate.md
Created June 10, 2019 17:24
Show Gist options
  • Save lorenzo132/b14eea40e24e1313cf338fffd48f4f2f to your computer and use it in GitHub Desktop.
Save lorenzo132/b14eea40e24e1313cf338fffd48f4f2f to your computer and use it in GitHub Desktop.
Add auto update functionality to Modmail

Optional steps (Auto-update)

You must fork for this to work. Make sure the name of your fork is exactly modmail

If you want your bot to have auto-update functionality so you can stay up-to-date with new features, do the following steps.

  1. Go into your Heroku app dashboard > deploy > and click connect to GitHub.
  2. Search for modmail and click connect. Note: it should say your GitHub name instead of kyb3r. sample
  3. Click Enable Automatic Deploys.

You will need to add another configuration variable:

  • GITHUB_ACCESS_TOKEN - Personal access token you can get from your GitHub developer settings.

Note: you must grant the access token write access to repositories.

token page

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