Skip to content

Bump certifi from 2024.2.2 to 2024.7.4 (#87) #40

Bump certifi from 2024.2.2 to 2024.7.4 (#87)

Bump certifi from 2024.2.2 to 2024.7.4 (#87) #40

name: Publish Jupyter Book
on:
push:
branches:
- main # Set this to your default branch.
jobs:
build:
runs-on: ubuntu-latest
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
contents: write
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jupyter-book ghp-import
pip install .
- name: Configure git authentication
run: |
git config --global user.email "turulomio@yahoo.es" #gh-pages branch
git config --global user.name "turulomio"
- name: Build Jupyter Book
run: |
jupyter-book build jupyter/
- name: Upload artifact to pass to GitHub Pages
run: |
ghp-import -n -p -f jupyter/_build/html