1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-21 22:34:21 +00:00

🔨 Manually run sphinx make

This commit is contained in:
Steffo 2021-11-21 05:16:21 +01:00
parent 544ebbfb59
commit 28b15f2569
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 10 additions and 18 deletions

View file

@ -23,15 +23,13 @@ jobs:
poetry-version: 1.1.11
- name: "Install backend dependencies"
working-directory: backend/
run: "poetry install --no-interaction"
run: poetry install --no-interaction
- name: "Find Poetry Python environment"
working-directory: backend/
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
- name: "Build HTML document with Sphinx"
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "report/"
build-command: "make html"
working-directory: report/
run: make html
- name: "Create a gzip of the build"
run: "tar -xvzf report/_build/report.html.tar.gz report/_build/html"
- name: "Upload build artifact"
@ -62,10 +60,8 @@ jobs:
- name: "Install Latex dependencies"
run: apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- name: "Build Latex document with Sphinx"
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "report/"
build-command: "make latexpdf"
working-directory: report/
run: make latexpdf
- name: "Upload build artifact"
uses: actions/upload-artifact@v2
with:

View file

@ -23,15 +23,13 @@ jobs:
poetry-version: 1.1.11
- name: "Install backend dependencies"
working-directory: backend/
run: "poetry install --no-interaction"
run: poetry install --no-interaction
- name: "Find Poetry Python environment"
working-directory: backend/
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
- name: "Build HTML document with Sphinx"
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "thesis/"
build-command: "make html"
working-directory: thesis/
run: make html
- name: "Create a gzip of the build"
run: "tar -xvzf thesis/_build/thesis.html.tar.gz thesis/_build/html"
- name: "Upload build artifact"
@ -62,10 +60,8 @@ jobs:
- name: "Install Latex dependencies"
run: apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- name: "Build Latex document with Sphinx"
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "thesis/"
build-command: "make latexpdf"
working-directory: thesis/
run: make latexpdf
- name: "Upload build artifact"
uses: actions/upload-artifact@v2
with: