Skip to content

Instantly share code, notes, and snippets.

@Coolguy3289
Created June 24, 2019 15:45
Show Gist options
  • Save Coolguy3289/d0e1b133d4d48ce62be6db15605764b9 to your computer and use it in GitHub Desktop.
Save Coolguy3289/d0e1b133d4d48ce62be6db15605764b9 to your computer and use it in GitHub Desktop.

Updating Modmail

You can update Modmail on your Heroku account whenever changes are made to the repository.

I want to update the bot once

If you didn't fork the repo before

Fork the repo by clicking the Fork button at the top right of this page (must be on desktop site). Then on your Heroku account, go to the modmail application. Click on the Deploy tab and connect the repo named yourusername/modmail. Do a manual deploy of the master branch.

If you forked the repo before

Click here to create a new pull request to your fork. Select compare across forks, make the base repository yourusername/modmail and ensure the branch is set to master. Put any title you want and create the pull request. On the page that comes after this, merge the pull request.

You then want to go to your modmail application in Heroku, connect your modmail fork via the Deploy tab and deploy the master branch.

You can turn on auto-deploy for the master branch if you don't want to go through the process of logging into Heroku and deploying the branch every time changes to the repo are made in the future. However, you will have to make a pull request to update your fork everytime.

I want to enable automatic updates

If you haven't done so, make sure to make a fork of the Modmail repo. Click the Fork button at the top right of this page (must be on desktop site).

You can register your fork of the repository to the Pull app, which will check for updates and make those to your copy of the code. Click the Install button. A new screen will pop up. Check the Only select repositories option and select yourname/modmail. Click the Install button and enter your password if needed. It will give you a confirmation message and bring you to the settings tab, where you can delete the app if you don't like it. Turn on auto-deploy for the master branch in Heroku, this will deploy the branch every time changes to the repo are made in the future.

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