Skip to content

ooc-gensui cron

ooc-gensui cron #509

name: ooc-gensui cron
on:
schedule:
- cron: 08 01 * * *
jobs:
TriggerMastobot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4.7.0
with:
# Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset.
python-version: 3.10.12
- name: Install Dependencies
run: |
pip3 install Mastodon.py
pip3 install pyyaml
- uses: actions/checkout@v2
- name: run.py
env:
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
run: python run.py
keepalive-job:
name: Keepalive Workflow
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2