1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +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 poetry-version: 1.1.11
- name: "Install backend dependencies" - name: "Install backend dependencies"
working-directory: backend/ working-directory: backend/
run: "poetry install --no-interaction" run: poetry install --no-interaction
- name: "Find Poetry Python environment" - name: "Find Poetry Python environment"
working-directory: backend/ working-directory: backend/
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
- name: "Build HTML document with Sphinx" - name: "Build HTML document with Sphinx"
uses: ammaraskar/sphinx-action@master working-directory: report/
with: run: make html
docs-folder: "report/"
build-command: "make html"
- name: "Create a gzip of the build" - name: "Create a gzip of the build"
run: "tar -xvzf report/_build/report.html.tar.gz report/_build/html" run: "tar -xvzf report/_build/report.html.tar.gz report/_build/html"
- name: "Upload build artifact" - name: "Upload build artifact"
@ -62,10 +60,8 @@ jobs:
- name: "Install Latex dependencies" - name: "Install Latex dependencies"
run: apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended 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" - name: "Build Latex document with Sphinx"
uses: ammaraskar/sphinx-action@master working-directory: report/
with: run: make latexpdf
docs-folder: "report/"
build-command: "make latexpdf"
- name: "Upload build artifact" - name: "Upload build artifact"
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View file

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