Skip to content

Generate

Generate #4

Workflow file for this run

name: Generate
on:
push:
branches:
- master
schedule:
- cron: "0 4 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Generate grants
run: uv run pyvec-docs gen-grants
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate boards
run: uv run pyvec-docs gen-boards
- name: Generate Twemoji
run: uv run pyvec-docs gen-twemoji
- name: Create PR
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: docs
commit-message: "update generated files"
branch: automation/generate
title: "Automated update of generated pages and other files"
body: "For details, see [the docs](https://docs.pyvec.org/contributing.html#generovani-stranek-a-souboru) :book:"