Skip to content

TeamUltroid/UltroidWorkflow

Repository files navigation

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

About

GitHub Action to run Ultroid on Github

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published