Skip to content

Commit bc0a2f1

Browse files
committed
Revert pr-docs-check-container-ssr; add pr-docs-check-ssr.
1 parent 7326b43 commit bc0a2f1

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/pr-docs-check-container-ssr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ on:
55
jobs:
66
docs:
77
runs-on: ubuntu-latest
8+
container:
9+
image: escomp/base:latest
810
steps:
911
- uses: actions/checkout@v1
1012
- uses: samsrabin/sphinx-action@use-escomp-base-container
1113
with:
1214
docs-folder: "doc"
13-
pre-build-command: "git lfs pull --exclude='' --include=''"
15+
pre-build-command: "(cd doc && make fetch-images)"
1416
build-command: "make html"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Pull Request Docs Check"
2+
on:
3+
- pull_request
4+
5+
jobs:
6+
docs:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: samsrabin/sphinx-action@use-escomp-base-container
11+
with:
12+
docs-folder: "doc/source"
13+
pre-build-command: "git lfs install && git lfs pull --exclude='' --include=''"
14+
build-command: "sphinx-build -W --keep-going -n -b html . _build"

0 commit comments

Comments
 (0)