Skip to content

Commit

Permalink
Improve Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Tesse committed May 2, 2023
1 parent 955ff76 commit 71ffdb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/deploy_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,3 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
- name: Run sphinx for html
run: |
source .venv/bin/activate
sudo apt install -y latexmk texlive-latex-extra
cd docs
make latexpdf
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: pdf
path: 'docs/build/latex/Georges-core.pdf'
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ RUN python3 -m venv $POETRY_VENV \
ENV PATH="${PATH}:${POETRY_VENV}/bin"

WORKDIR /home
RUN git clone https://github.com/ULB-Metronu/georges.git
RUN git clone --branch master https://github.com/ULB-Metronu/georges.git
RUN poetry config virtualenvs.in-project true
WORKDIR /home/georges
RUN poetry install

ENV PATH="/home/georges-core/.venv/bin:$PATH"
ENV PATH="/home/georges/.venv/bin:$PATH"
RUN mkdir work
WORKDIR /home/work
CMD jupyter-lab --ip 0.0.0.0 --no-browser --allow-root --port=8899

0 comments on commit 71ffdb6

Please sign in to comment.