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

Commit 5e330f1

Browse files
Fix devmanual generation.
1 parent b92bacb commit 5e330f1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/website_build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
uses: actions/checkout@v2
5959
with:
6060
repository: 'naev/naev'
61+
submodules: 'recursive'
6162
path: /__w/naev.github.io/naev.github.io/staging
6263
- name: "Build API Docs"
6364
run: |
@@ -66,12 +67,14 @@ jobs:
6667
working-directory: ${{ github.workspace }}/staging
6768
- name: "Build Manual PDF"
6869
run: |
70+
OLDHOME="$HOME"
71+
export HOME="/root"
6972
make naev_dev_manual.pdf
73+
export HOME="$OLDHOME"
7074
working-directory: ${{ github.workspace }}/staging/docs/manual
7175
- name: "Stage Updated Files"
7276
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
77+
cp -Ru build/docs/lua/* ../prod/api && mkdir -p ../prod/devmanual && cp docs/manual/*.pdf ../prod/devmanual
7578
working-directory: ${{ github.workspace }}/staging
7679
- name: "Add Updated Files"
7780
run: |

0 commit comments

Comments
 (0)