Skip to content

Bump actions/setup-python from 2 to 5 #34

Bump actions/setup-python from 2 to 5

Bump actions/setup-python from 2 to 5 #34

Workflow file for this run

name: book
on:
push:
branches:
- main
jobs:
pages:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: pysetup
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: install
run: |
pip install -U pip setuptools wheel
pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt
- name: build
run: |
sh generate-book.sh
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# base dir is checkout: /path/to/this_repo
publish_dir: book/_build/html