deluxe waffle #106
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: deluxe waffle | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "45 15 * * 0" # 4PM GMT Sunday - 15min | |
jobs: | |
waffle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Chrome setup matters | |
run: |- | |
apt list --installed | |
sudo apt purge google-chrome-stable | |
sudo apt purge chromium-browser | |
sudo apt install -y chromium-browser | |
pip install -r requirements.txt | |
- name: Solve deluxe Waffle :) | |
run: python telegram.py -m 2 -c 1 | |
env: | |
TOKEN: ${{ secrets.TOKEN }} | |
CHATS: ${{ secrets.CHATS }} |