feat(.github/workflows/host-bot.yml): Update workflow trigger from sc… #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Bot | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Python 3 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.12 | |
- name: Install Dependencies | |
run: | | |
pip install -U pip | |
pip install -r requirements.txt | |
- name: Running bot | |
run: | | |
python3 -m pytgpt_bot run --admin-id=${{ secrets.ADMIN_ID }} --voice=Brian --loglevel=50 --logfile=pytgpt-bot.log --test-g4f ${{ secrets.BOT_TOKEN }} |