Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit e50e4b9

Browse files
Add job step for generating the devmanual.
1 parent dc4b4e7 commit e50e4b9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/website_build.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
github_token: ${{ secrets.GITHUB_TOKEN }}
4545
branch: ${{ github.ref }}
4646
directory: /__w/naev.github.io/naev.github.io/prod
47-
api_publish:
47+
docs_publish:
4848
runs-on: ubuntu-latest
49-
if: github.event.inputs.publish_type == 'api'
49+
if: github.event.inputs.publish_type == 'docs'
5050
container:
5151
image: "ghcr.io/naev/naev-docs:latest"
5252
steps:
@@ -64,8 +64,14 @@ jobs:
6464
meson setup build . -Dexecutable=disabled
6565
meson compile -C build
6666
working-directory: ${{ github.workspace }}/staging
67+
- name: "Build Manual PDF"
68+
run: |
69+
make naev_dev_manual.pdf
70+
working-directory: ${{ github.workspace }}/staging/docs/manual
6771
- name: "Stage Updated Files"
68-
run: rsync -avzh build/docs/lua/ /__w/naev.github.io/naev.github.io/prod/api
72+
run:
73+
rsync -avzh build/docs/lua/ /__w/naev.github.io/naev.github.io/prod/api
74+
rsync -avzh docs/manual/naev_dev_manual.pdf /__w/naev.github.io/naev.github.io/prod/devmanual
6975
working-directory: ${{ github.workspace }}/staging
7076
- name: "Add Updated Files"
7177
run: |
@@ -75,7 +81,7 @@ jobs:
7581
working-directory: /__w/naev.github.io/naev.github.io/prod
7682
- name: "Commit Updated Files"
7783
run: |
78-
git commit -m "API Documentation Updates" -a
84+
git commit -m "Documentation Updates" -a
7985
git pull
8086
working-directory: /__w/naev.github.io/naev.github.io/prod
8187
- name: "Push Updates to `naev.org`"

0 commit comments

Comments
 (0)