dogfacts and workflow

This commit is contained in:
2025-06-08 13:59:58 -05:00
parent 7db6a68083
commit 2db85fb6c0
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,24 @@
name: DogFacts
# on:
# 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
working-directory: ./quotes
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run dog_facts.py
run:
python dog_facts.py
env:
BOTS_DOGFACTS_TOKEN: ${{ secrets.BOTS_BOTSY_TOKEN }}
BOTS_ENDPOINT: ${{ secrets.BOTS_ENDPOINT }}