-
Notifications
You must be signed in to change notification settings - Fork 18
31 lines (31 loc) · 925 Bytes
/
generate.yml
File metadata and controls
31 lines (31 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Generate
on:
push:
branches:
- master
schedule:
- cron: "0 4 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
- 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@v8
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:"