Skip to content

Bump actions/checkout from 2 to 4 #33

Bump actions/checkout from 2 to 4

Bump actions/checkout from 2 to 4 #33

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@v2
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