Files
bots/.gitea/workflows/quotes.yaml
Camille Frantz 1e701936ce
Some checks failed
QuotesBot / deploy (push) Failing after 27s
make all workflows runnable on demand
2025-06-18 15:32:33 -05:00

30 lines
927 B
YAML

name: QuotesBot
run-name: Quotes Bot
on:
workflow_dispatch:
schedule:
- cron: '35 */4 * * *'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run quotes.py
run:
python quotes.py
env:
BOTS_QUOTESBOT_TOKEN: ${{ secrets.BOTS_QUOTESBOT_TOKEN }}
BOTS_ENDPOINT: ${{ secrets.BOTS_ENDPOINT }}
PUSHOVER_ENDPOINT: ${{ secrets.PUSHOVER_ENDPOINT }}
PUSHOVER_USER_TOKEN: ${{ secrets.PUSHOVER_USER_TOKEN }}
PUSHOVER_BOTS_TOKEN: ${{ secrets.PUSHOVER_BOTS_TOKEN }}
QUOTES_SOURCE: ${{ secrets.QUOTES_SOURCE }}