2025-06-05 19:28:25 +00:00

25 lines
669 B
YAML

name: QuotesBot
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
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run app.py
run:
python app.py
env:
POST_TOKEN: ${{ secrets.POST_TOKEN }}
POST_ENDPOINT: ${{ secrets.POST_ENDPOINT }}
SOURCE_ENDPOINT: ${{ secrets.SOURCE_ENDPOINT }}