2023-01-21 16:38:38 +03:00
|
|
|
name: verify-pages
|
2021-12-12 09:33:46 +03:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- "docs/**"
|
|
|
|
- "ci/build-docs.sh"
|
|
|
|
- "ci/generate-docs.py"
|
|
|
|
- "ci/subst-release-info.py"
|
|
|
|
- ".github/workflows/verify-pages.yml"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-docs:
|
2023-01-23 20:58:03 +03:00
|
|
|
env:
|
|
|
|
BUILD_REASON: "PR"
|
2021-12-12 09:33:46 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-04-11 04:34:51 +03:00
|
|
|
uses: actions/checkout@v3
|
2023-03-16 09:36:23 +03:00
|
|
|
- name: "Install Rust"
|
2023-03-24 20:16:09 +03:00
|
|
|
uses: dtolnay/rust-toolchain@stable
|
2023-02-26 04:19:47 +03:00
|
|
|
- name: Install gelatyx
|
2023-03-27 05:47:48 +03:00
|
|
|
uses: baptiste0928/cargo-install@v2
|
2023-03-16 09:36:23 +03:00
|
|
|
with:
|
|
|
|
crate: gelatyx
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: 3.x
|
|
|
|
- uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
key: ${{ github.ref }}
|
|
|
|
path: .cache
|
2021-12-12 09:33:46 +03:00
|
|
|
- name: Build
|
2023-03-16 09:36:23 +03:00
|
|
|
run: ./ci/build-docs.sh
|
2021-12-12 09:33:46 +03:00
|
|
|
|