Skip to content

Commit 04af3d2

Browse files
author
mc-cari
committed
Add notebook workflow
1 parent f9677e4 commit 04af3d2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/notebook.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Notebook Workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- 'Notebook/**'
9+
10+
jobs:
11+
generate-notebook:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: '20'
22+
23+
- name: Install aptitude
24+
run: apt-get install -y aptitude
25+
26+
- name: Install TeX Live and extra packages
27+
run: aptitude install texlive texlive-latex-extra
28+
29+
- name: Generate PDF Notebook
30+
run: notebook-generator ./Notebook --author "Mauricio Cari Leal" --size 9 --image ./.Assets/UC-Logo

0 commit comments

Comments
 (0)