File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build and Deploy Jekyll (with plugins)
22
33on :
44 push :
5- branches : [ master ] # usa master; aggiungi 'main' se ne usi due
5+ branches : [ master ]
66 paths :
77 - ' **.md'
88 - ' **.html'
@@ -35,12 +35,32 @@ jobs:
3535 - uses : actions/checkout@v4
3636 with :
3737 fetch-depth : 1
38+
39+ # 1) Dipendenze di sistema per immagini e (opzionale) pandoc
40+ - name : Install system deps (ImageMagick, WebP, Pandoc)
41+ run : |
42+ sudo apt-get update
43+ sudo apt-get install -y imagemagick webp pandoc
44+
45+ # 2) Python + Jupyter per convertire i notebook .ipynb
46+ - name : Setup Python
47+ uses : actions/setup-python@v5
48+ with :
49+ python-version : ' 3.11'
50+ - name : Install Jupyter
51+ run : |
52+ python -m pip install --upgrade pip
53+ python -m pip install jupyter nbconvert
54+
55+ # 3) Jekyll + plugin Ruby
3856 - uses : ruby/setup-ruby@v1
3957 with :
4058 ruby-version : ' 3.2'
4159 bundler-cache : true
60+
4261 - run : bundle install --jobs 4 --retry 3
4362 - run : bundle exec jekyll build --trace
63+
4464 - uses : actions/upload-pages-artifact@v3
4565 with :
4666 path : ./_site
You can’t perform that action at this time.
0 commit comments