Skip to content

upload demo

upload demo #1

Workflow file for this run

name: deploy

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

`deploy-book` is not a valid event name
on:
push:
branches:
- main
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10.13
uses: actions/setup-python@v2
with:
python-version: 3.10.13
- name: Install Dependencies
run: |
pip install -r requirements.txt
- name: Build Content
run: |
jupyter-book build source
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: source/_build/html