Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.92 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.92 KB

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