Skip to content

Update pixelateTG.py #583

Update pixelateTG.py

Update pixelateTG.py #583

Workflow file for this run

name: Pixelbot
on:
push:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install mtcnn
- name: Set Telegram BOT token
run: echo "TELEGRAM_BOT_TOKEN=${{ secrets.TELEGRAM_BOT_TOKEN }}" >> $GITHUB_ENV
- name: Upgrade black
run: python -m pip install --upgrade black
- name: Format code with black
run: black .
- name: Run bot
run: |
python pixelateTG.py
env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}