File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1- # Build & deploy Pluto notebooks to GitHub Pages
21name : Build & deploy Pluto notebooks
3-
42on :
53 push :
64 branches : [ main ]
@@ -22,18 +20,17 @@ jobs:
2220 - name : Setup Julia
2321 uses : julia-actions/setup-julia@v1
2422 with :
25- version : ' 1.9 ' # change if you need a different Julia release
23+ version : ' 1.11.4 '
2624
2725 - name : Restore project (if Project.toml exists)
2826 run : |
2927 if [ -f Project.toml ]; then
30- julia -e 'import Pkg; Pkg.activate("." ); Pkg.instantiate ()'
28+ julia --project=. - e 'import Pkg; Pkg.instantiate( ); Pkg.precompile ()'
3129 else
3230 echo "No Project.toml found — workflow will install exporter package temporarily."
3331 fi
3432
3533 - name : Export Pluto notebooks to HTML
36- # runs the export script (scripts/export_pluto.jl)
3734 run : julia --project=. scripts/export_pluto.jl
3835
3936 - name : Deploy to GitHub Pages
4239 github_token : ${{ secrets.GITHUB_TOKEN }}
4340 publish_dir : ./public
4441 publish_branch : gh-pages
45- # optional: set a specific commit message
4642 commit_message : ' Deploy Pluto HTML via GitHub Actions'
You can’t perform that action at this time.
0 commit comments