debugging
All checks were successful
DogFacts / deploy (push) Successful in 11s

This commit is contained in:
2025-06-08 15:02:39 -05:00
parent b000ec2010
commit f59c47435a
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
name: DogFacts name: DogFacts
on: on:
workflow_dispatch: push
# workflow_dispatch:
# schedule: # schedule:
# - cron: '35 */4 * * *' # - cron: '35 */4 * * *'
jobs: jobs:
@ -20,7 +21,7 @@ jobs:
run: run:
python dog_facts.py python dog_facts.py
env: env:
BOTS_DOGFACTS_TOKEN: ${{ secrets.BOTS_BOTSY_TOKEN }} BOTS_DOGFACTS_TOKEN: ${{ secrets.BOTS_DOGFACTS_TOKEN }}
BOTS_ENDPOINT: ${{ secrets.BOTS_ENDPOINT }} BOTS_ENDPOINT: ${{ secrets.BOTS_ENDPOINT }}
PUSHOVER_ENDPOINT: ${{ secrets.PUSHOVER_ENDPOINT }} PUSHOVER_ENDPOINT: ${{ secrets.PUSHOVER_ENDPOINT }}
PUSHOVER_USER_TOKEN: ${{ secrets.PUSHOVER_USER_TOKEN }} PUSHOVER_USER_TOKEN: ${{ secrets.PUSHOVER_USER_TOKEN }}

View File

@ -8,7 +8,7 @@ from globals import *
def notify(priority, message): def notify(priority, message):
r = post("https://api.pushover.net/1/messages.json", data = { r = post("https://api.pushover.net/1/messages.json", data = {
"token": po_test_token, "token": po_bots_token,
"user": po_user_token, "user": po_user_token,
"message": "dog facts: " + message, "message": "dog facts: " + message,
"priority": priority "priority": priority