Skip to content

Commit b1e8784

Browse files
committed
Update yml
1 parent b386753 commit b1e8784

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/pages.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Deploy Jekyll with GitHub Pages dependencies preinstalled
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7-
branches: [$default-branch]
7+
branches: [scdoc-pages-pr]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
@@ -28,12 +28,19 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v4
31+
- name: Build HTML man pages
32+
run: |
33+
mkdir _build
34+
podman build --target base --tag rpm -f tests/Dockerfile .
35+
podman run -v $PWD:/srv:z --workdir /srv/_build --rm rpm sh -c \
36+
"cmake .. && make man-html"
37+
mv _build/docs/_man docs/
3138
- name: Setup Pages
3239
uses: actions/configure-pages@v5
3340
- name: Build with Jekyll
3441
uses: actions/jekyll-build-pages@v1
3542
with:
36-
source: ./
43+
source: ./docs
3744
destination: ./_site
3845
- name: Upload artifact
3946
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)