From f9278572fac4248f2decd038cbcaeb1f42ad5705 Mon Sep 17 00:00:00 2001 From: David Perez-Suarez Date: Wed, 12 Feb 2025 18:28:14 +0000 Subject: [PATCH] Change way of building pages to use gh-actions --- .github/workflows/build_site.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_site.yml b/.github/workflows/build_site.yml index ec3c7711..ed8de14e 100644 --- a/.github/workflows/build_site.yml +++ b/.github/workflows/build_site.yml @@ -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 @@ -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: >