Skip to content

Revert workflow to fix #19

Revert workflow to fix

Revert workflow to fix #19

Workflow file for this run

name: deploy-book
on:
push:
branches:
- main
jobs:
deploy-book:
environment:
name: github-pages
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install -r astudentsguide/requirements.txt
- name: Build the book
run: |
jupyter-book build astudentsguide
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "astudentsguide/_build/html"
- name: Configure Pages
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4