Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Deploying slam mirrorbot on Heroku with Github Workflows

Hafitz Setya edited this page Nov 8, 2021 · 44 revisions

Heroku

Pre-requisites

  • Token Pickle
  • Github account
  • Heroku account
    • Recommended to use 1 App in 1 Heroku account.
    • Don't use bin/fake credits card, because your Heroku account will get banned.
    • Heroku is free service, so don't expect too much.
  • Text editor

Deployment

  1. Star and Fork this repo then upload token.pickle to your forks, or you can upload your token.pickle to your Index and put your token.pickle link to TOKEN_PICKLE_URL (Recommended) (NOTE: If you don't upload token.pickle uploading will not work).

  2. Go to Repository Settings -> Secrets

    secrets

  3. Add the below Required Variables one by one by clicking New Repository Secret everytime.

  1. After adding all the above Required Variables go to Github Actions tab in your repo

  2. Select Manually Deploy to Heroku workflow as shown below:

    Example Manually Deploy to Heroku

  3. Then click on Run workflow

    Run workflow

  4. Done! your bot will be deployed now.

NOTE

  • Don't change/edit variables from Heroku if you want to change/edit do it in config.env from your gist, after it just restart your Heroku app.
  • Got app suspended? Just redeploy with same app name.
  • In README.md already said DEAD REPO AND NO MORE UPDATE if you got any bug/issue, you should fix it by yourself.

Credits

  • AkhileshNS for Github Workflow method to deploy Heroku app
Clone this wiki locally