add quotes workflow and update README
This commit is contained in:
24
.gitea/workflows/quotes.yaml
Normal file
24
.gitea/workflows/quotes.yaml
Normal 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 }}
|
@ -1,8 +1,9 @@
|
|||||||
# fyrfli's ActivityPub bots project
|
# fyrfli's ActivityPub bots project
|
||||||
 
|
  
|
||||||
|
|
||||||
## 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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user