Update credits

Co-authored-by: Ronin <ronin08@users.noreply.github.com>
Signed-off-by: breakdowns <hafitz666@outlook.co.id>
This commit is contained in:
Hafitz Setya 2021-08-24 07:33:42 +07:00 committed by GitHub
parent 9595f71749
commit 6f456d8aad
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
## Deployment
1. Give a 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** (**NOTE**: If you don't upload **token.pickle** uploading will not work).
1. Give a 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` (**NOTE**: If you don't upload **token.pickle** uploading will not work).
2. Go to Repository `Settings` -> `Secrets`
@ -20,7 +20,7 @@
* `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](https://raw.githubusercontent.com/Slam-Team/slam-mirrorbot/master/config_sample.env) in any text editor. Remove the _____REMOVE_THIS_LINE_____ line and fill the variables. Go to https://gist.github.com and paste your config data. Rename the file to config.env then create secret gist. Click on Raw, copy the link. This will be your CONFIG_FILE_URL. Refer to below images for clarity.
* `CONFIG_FILE_URL` Fill [This](https://raw.githubusercontent.com/Slam-Team/slam-mirrorbot/master/config_sample.env) in any text editor. Remove the `_____REMOVE_THIS_LINE_____=True` line and fill the variables. Go to https://gist.github.com and paste your config data. Rename the file to `config.env` then create secret gist. Click on Raw, copy the link. This will be your `CONFIG_FILE_URL`. Refer to below images for clarity.
![steps 1 to 3](https://telegra.ph/file/1d8fec16516a87ba9d1ac.jpg)
@ -28,12 +28,12 @@
![step 5](https://telegra.ph/file/416a550f7ded579b63272.jpg)
- Note: Remove commit id from raw link to be able to change variables without updating the CONFIG_FILE_URL in secrets.
- **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
- Before: https://gist.githubusercontent.com/anasty17/8cce4a4b4e7f4ea47e948b2d058e52ac/raw/19ba5ab5eb43016422193319f28bc3c7dfb60f25/config.env
- After: https://gist.githubusercontent.com/anasty17/8cce4a4b4e7f4ea47e948b2d058e52ac/raw/config.env
- You only need to restart your bot after editing config.env gist secret.
- You only need to restart your bot after editing `config.env` gist secret.
4. After adding all the above Required Variables go to Github Actions tab in your repo
@ -52,3 +52,4 @@
## Credits
- [arghyac35](https://github.com/arghyac35) for Tutorial
- [AkhileshNS](https://github.com/AkhileshNS) for Github workflow method to deploy Heroku app