File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -41,24 +41,30 @@ jobs:
41
41
42
42
- name : Convert notebooks to HTML
43
43
run : |
44
- mkdir -p ./notebooks_html
44
+ mkdir -p ./examples_html
45
45
for notebook in examples/*.ipynb; do
46
46
jupyter nbconvert --to html --output-dir ./examples_html "$notebook"
47
47
done
48
48
49
- - name : Setup Pages
50
- uses : actions/configure-pages@v5
49
+ - name : Set up Ruby
50
+ uses : actions/setup-ruby@v1
51
+ with :
52
+ ruby-version : ' 3.x'
51
53
52
- - name : Build with Jekyll
54
+ - name : Install dependencies
53
55
run : |
56
+ gem install bundler
54
57
bundle install
58
+
59
+ - name : Build with Jekyll
60
+ run : |
55
61
bundle exec jekyll build
56
62
env :
57
63
JEKYLL_ENV : production
58
64
59
65
- name : Move converted notebooks to _site
60
66
run : |
61
- cp -r ./notebooks_html /* ./_site/examples/
67
+ cp -r ./examples_html /* ./_site/examples/
62
68
63
69
- name : Upload artifact
64
70
uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments