Skip to content

Commit c8c741d

Browse files
committed
Add marp to cd
1 parent 560b960 commit c8c741d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ jobs:
7575
- uses: "actions/setup-python@v2"
7676
with:
7777
python-version: "${{ matrix.python-version }}"
78-
- name: "Install dependencies for latex slide delivery"
78+
- name: "Install dependencies for latex and marp slide delivery"
7979
run: |
8080
sudo apt-get install texlive-latex-extra
81+
npm install -g @marp-team/marp-cli
8182
python -VV
8283
python -m site
8384
python -m pip install .
@@ -86,7 +87,8 @@ jobs:
8687
run: |
8788
mkdir -p tex_out
8889
89-
python risk_learning/tex.py --filepath ${{ github.workspace }}/slides/intro/ai-risk-and-discrete-geometry.tex --outdir ${{ github.workspace }}/tex_out
90+
# python risk_learning/tex.py --filepath ${{ github.workspace }}/slides/intro/ai-risk-and-discrete-geometry.tex --outdir ${{ github.workspace }}/tex_out
91+
marp --html 'slides/intro/intro' -o "${{ github.workspace }}/tex_out/intro.pdf"--allow-local-files
9092
python risk_learning/tex.py --filepath ${{ github.workspace }}/slides/discrete-geometry/discrete-geometry.tex --outdir ${{ github.workspace }}/tex_out
9193
python risk_learning/tex.py --filepath ${{ github.workspace }}/slides/correlation-causality/correlation-causality.tex --outdir ${{ github.workspace }}/tex_out
9294
python risk_learning/tex.py --filepath ${{ github.workspace }}/slides/adversarial-regularization-regimes/adversarial.tex --outdir ${{ github.workspace }}/tex_out

0 commit comments

Comments
 (0)