Skip to content

Update backup.yml

Update backup.yml #5

Workflow file for this run

name: publish-book
on:
push:
branches:
- main
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[tf,docs]
pip install jupyter-book sphinxcontrib-mermaid
- name: Build the book
run: |
jupyter-book build .
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html