mirror of
https://github.com/NotXia/unibo-ai-notes.git
synced 2025-12-16 11:31:49 +01:00
Update compile workflow
This commit is contained in:
12
.github/workflows/compile.yml
vendored
12
.github/workflows/compile.yml
vendored
@ -34,12 +34,6 @@ jobs:
|
|||||||
path: .currpdfs
|
path: .currpdfs
|
||||||
|
|
||||||
|
|
||||||
- name: Install LaTeX
|
|
||||||
run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y latexmk texlive texlive-science texlive-latex-extra texlive-fonts-extra texlive-bibtex-extra biber
|
|
||||||
|
|
||||||
|
|
||||||
- name: Prepare output directory
|
- name: Prepare output directory
|
||||||
run: |
|
run: |
|
||||||
mkdir ${GITHUB_WORKSPACE}/.compiled
|
mkdir ${GITHUB_WORKSPACE}/.compiled
|
||||||
@ -47,10 +41,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
bash ${GITHUB_WORKSPACE}/utils/compile.sh \
|
docker pull ghcr.io/notxia/unibo-ai-notes:main
|
||||||
${GITHUB_WORKSPACE}/src \
|
docker run -v .:/notes ghcr.io/notxia/unibo-ai-notes:main
|
||||||
${GITHUB_WORKSPACE}/.compiled \
|
|
||||||
${GITHUB_WORKSPACE}/.currpdfs
|
|
||||||
|
|
||||||
- name: Generate README
|
- name: Generate README
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user