Skip to content

Daily Generation Routine #5

Daily Generation Routine

Daily Generation Routine #5

Workflow file for this run

name: "Daily Generation Routine"
on:
schedule:
- cron: "12 6,8 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
# Build job
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
poetry install
- name: Run updateCache command
run: |
poetry run updateCache
- name: Run generate command
run: |
poetry run generate
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: "automated: daily generation routine"