Skip to content

stavrina is pushing an update 🌳 #40

stavrina is pushing an update 🌳

stavrina is pushing an update 🌳 #40

Workflow file for this run

name: deploy
run-name: ${{ github.actor }} is pushing an update 🌳
on:
# Trigger the workflow on push to main branch
push:
branches:
- main
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
build-and-deploy-book:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.9.17]
steps:
- uses: actions/checkout@v4
# Install dependencies
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
# Build the book
- name: Build the book
run: |
jupyter-book build handbook
# Deploy the book's HTML to gh-pages branch
- name: Deploy to GitHub pages
uses: peaceiris/actions-gh-pages@v4
permissions: write-all

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

View workflow run for this annotation

GitHub Actions / deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 37, Col: 7): Unexpected value 'permissions'
with:
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: handbook/_build/html