add quotes workflow and update README

This commit is contained in:
2025-06-11 01:56:23 -05:00
parent 0e8fc31e28
commit 034bbf2ebd
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,24 @@
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 quotes.py
run:
python quotes.py
env:
BOTS_QUOTESBOT_TOKEN: ${{ secrets.BOTS_QUOTESBOT_TOKEN }}
BOTS_ENDPOINT: ${{ secrets.BOTS_ENDPOINT }}
QUOTES_SOURCE: ${{ secrets.QUOTES_SOURCE }}

View File

@ -1,8 +1,9 @@
# fyrfli's ActivityPub bots project # fyrfli's ActivityPub bots project
![](https://fyrfli.dev/fyrfli/bots/actions/workflows/dog_facts.yaml/badge.svg) ![](https://fyrfli.dev/fyrfli/bots/actions/workflows/quip.yaml/badge.svg) ![](https://fyrfli.dev/fyrfli/bots/actions/workflows/dog_facts.yaml/badge.svg) ![](https://fyrfli.dev/fyrfli/bots/actions/workflows/quip.yaml/badge.svg) ![](https://fyrfli.dev/fyrfli/bots/actions/workflows/quotes.yaml/badge.svg)
## the bots ## the bots
- [Dog facts](https://bots.fyrfli.social/@dogfacts) - [Dog facts](https://bots.fyrfli.social/@dogfacts)
- [Quips](https://bots.fyrfli.social/@dayswithoutwhitenonsense) - [Quips](https://bots.fyrfli.social/@dayswithoutwhitenonsense)
- [Random Quotes](https://bots.fyrfli.social/@quotesbot)