Skip to content

Instantly share code, notes, and snippets.

@kyb3r
Last active July 6, 2019 21:17
Show Gist options
  • Save kyb3r/de3003dedd3260ffd062375140d7563d to your computer and use it in GitHub Desktop.
Save kyb3r/de3003dedd3260ffd062375140d7563d 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

@Berethekid
Copy link

Thank You!

@snaildos
Copy link

Thanks so much!!!

@AhmedXL
Copy link

AhmedXL commented May 12, 2019

Thank you so much <3

@whopiyush
Copy link

whopiyush commented Jun 4, 2019

yw 😛

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