Skip to content

Update README.md

Update README.md #5

Workflow file for this run

name: Deploy Docs to GitHub Pages
on:
push:
branches:
- main # Trigger the workflow on push to the main branch
jobs:
deploy:
runs-on: ubuntu-latest
container:
image: pytorch/pytorch
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update
apt-get install -y git
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Build the documentation
run: |
sphinx-build -M html docs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/html