Skip to content

Commit a499fc6

Browse files
Update jekyll-gh-pages.yml
1 parent 9a198bb commit a499fc6

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,30 @@ jobs:
4141
4242
- name: Convert notebooks to HTML
4343
run: |
44-
mkdir -p ./notebooks_html
44+
mkdir -p ./examples_html
4545
for notebook in examples/*.ipynb; do
4646
jupyter nbconvert --to html --output-dir ./examples_html "$notebook"
4747
done
4848
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'
5153

52-
- name: Build with Jekyll
54+
- name: Install dependencies
5355
run: |
56+
gem install bundler
5457
bundle install
58+
59+
- name: Build with Jekyll
60+
run: |
5561
bundle exec jekyll build
5662
env:
5763
JEKYLL_ENV: production
5864

5965
- name: Move converted notebooks to _site
6066
run: |
61-
cp -r ./notebooks_html/* ./_site/examples/
67+
cp -r ./examples_html/* ./_site/examples/
6268
6369
- name: Upload artifact
6470
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)