-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Home
ADIB AKHTAB edited this page Jan 12, 2022
·
3 revisions
- A GitHub Account
- Heroku Account.
- Some Patience
-
Give a star and Fork this repo .
-
Go to
Repository Settings -> Secrets
- Add the below Required Variables one by one by clicking
New Repository Secret
everytime.
-
HEROKU_EMAIL
Heroku Account Email Id in which the above app will be deployed -
HEROKU_API_KEY
Your Heroku API key, get it from https://dashboard.heroku.com/account -
HEROKU_APP_NAME
Your Heroku app name, Name Must be unique -
CONFIG_FILE_URL
Fill This using any text editor. -
NOTE: Remove commit id from raw link to be able to change variables without updating the
CONFIG_FILE_URL
in secrets. should be in this form:
https://gist.githubusercontent.com/username/gist-id/raw/config.env
- You only need to restart your bot after editing
config.env
gist secret.
-
After adding all the above Required Variables go to Github Actions tab in your repo
-
Select
Manually Deploy to Heroku
workflow as shown below: -
Then click on Run workflow
-
Done! your bot will be deployed now.
- Recommended to use 1 App in 1 Heroku account and Don't use bin/fake credits card, because your Heroku account will get banned.
- Don't change/edit variables from Heroku if you want to change/edit do it in config.env from your gist.
-
Slam Team
For Giving An Example To Make GitHub Work Flows & Wiki