Skip to content

Commit

Permalink
Change way of building pages to use gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dpshelio committed Feb 12, 2025
1 parent ab5140c commit f927857
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,10 @@ jobs:
python -m pip install -r .github/python/requirements.txt
- name: Building notes
run: make ready
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install bundler and dependencies
run: |
gem install bundler
bundle install
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build website
run: bundle exec jekyll build
uses: actions/jekyll-build-pages@v1
- name: Build the JupyterLite site
run: |
find . -type d -name .pytest_cache -o -name .ruff_cache -o -name .doctrees | xargs rm -rf
Expand All @@ -61,8 +56,6 @@ jobs:
jupyter lite build --contents contents --output-dir _site/jupyter-lite
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: _site

deploy:
if: >
Expand Down

0 comments on commit f927857

Please sign in to comment.