From 186701f3d7f174a2904c26b9de37bde9620a81ce Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Mon, 19 Aug 2024 18:23:02 +0800 Subject: [PATCH 1/4] ci: install full texlive to see whether we can fix the font issue ! Package fontspec Error: The font "FreeSerif" cannot be found. Signed-off-by: Huaqi Fang <578567190@qq.com> --- .github/workflows/deploy_doc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_doc.yaml b/.github/workflows/deploy_doc.yaml index 5fd3231..468cf9c 100644 --- a/.github/workflows/deploy_doc.yaml +++ b/.github/workflows/deploy_doc.yaml @@ -28,7 +28,7 @@ jobs: run: | sudo apt-get update sudo apt-get install lftp python3 make latexmk \ - texlive-latex-recommended texlive-xetex texlive-lang-cjk texlive-latex-extra texlive-fonts-recommended + texlive-full texlive-latex-recommended texlive-xetex texlive-lang-cjk texlive-latex-extra texlive-fonts-recommended sudo python3 -m pip install --upgrade pip sudo pip3 install -r requirements.txt From cfaf35b9c3c0530d978a7b2442cba361cb5d67bf Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Mon, 19 Aug 2024 18:45:28 +0800 Subject: [PATCH 2/4] ci: Fix Can't exec "xindy": No such file or directory at (eval 13) line 14. https://github.com/Nuclei-Software/nuclei-tool-guide/actions/runs/10451638801/job/28938452097 Signed-off-by: Huaqi Fang <578567190@qq.com> --- .github/workflows/deploy_doc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_doc.yaml b/.github/workflows/deploy_doc.yaml index 468cf9c..8150585 100644 --- a/.github/workflows/deploy_doc.yaml +++ b/.github/workflows/deploy_doc.yaml @@ -28,7 +28,7 @@ jobs: run: | sudo apt-get update sudo apt-get install lftp python3 make latexmk \ - texlive-full texlive-latex-recommended texlive-xetex texlive-lang-cjk texlive-latex-extra texlive-fonts-recommended + texlive-full xindy texlive-latex-recommended texlive-xetex texlive-lang-cjk texlive-latex-extra texlive-fonts-recommended sudo python3 -m pip install --upgrade pip sudo pip3 install -r requirements.txt From abaae40a6c472740f2b8d160be21e91a66e48f74 Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Mon, 19 Aug 2024 18:51:17 +0800 Subject: [PATCH 3/4] ci: only build on master or pull request Signed-off-by: Huaqi Fang <578567190@qq.com> --- .github/workflows/deploy_doc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy_doc.yaml b/.github/workflows/deploy_doc.yaml index 8150585..0497ee1 100644 --- a/.github/workflows/deploy_doc.yaml +++ b/.github/workflows/deploy_doc.yaml @@ -6,6 +6,7 @@ concurrency: on: push: + - master pull_request: jobs: From 6e0cbe94c2ba6cdc9855f521311863c2f627b6c2 Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Mon, 19 Aug 2024 18:53:49 +0800 Subject: [PATCH 4/4] ci: Fix deploy_doc.yaml format --- .github/workflows/deploy_doc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_doc.yaml b/.github/workflows/deploy_doc.yaml index 0497ee1..40a3ced 100644 --- a/.github/workflows/deploy_doc.yaml +++ b/.github/workflows/deploy_doc.yaml @@ -6,7 +6,7 @@ concurrency: on: push: - - master + branches: [master] pull_request: jobs: