How to use ?
⭐ Star the repo if you like it !- Use this repo as a Template to create a repo on your github account. For example we will take
root
here. - Then, in the
root/.github/workflows/example.yml
file, edit the env ! - Then, goto your
repo/settings/secret
and set the required secrets !
This is a example of env in root/.github/workflows/example.yml
env:
API_ID: 'YOUR_API_ID'
API_HASH: 'YOUR_API_HASH'
SESSION: ${{ secrets.session }}
REDIS_URI: ${{ secrets.redis_uri }}
REDIS_PASSWORD: ${{ secrets.redis_password }}
DATABASE_URL: ${{ secrets.database_url }}
- You can either give the env vars directly or via secrets !
What's Happening ?
- The
.yml
file you created will run -- Every 6 hours forever.
- Whenever you push a commit to
main
branch. - Whenever you manually the workflow.
- Then the workflow will bring the file of your
root
repo into the hosted runner. - Then other parallel running workflows will be cancelled.
- Finally, It will run Ultroid with UltroidCli