Skip to content

Add missing linux instructions #3

Add missing linux instructions

Add missing linux instructions #3

Workflow file for this run

name: Render JupyterBook
on:
push:
branches:
- main
- master
- setup_jupyter_book
workflow_dispatch: # allow manual triggers
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
render:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install jupyter-book
- name: Build JupyterBook
run: |
jupyter-book build .
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: '_build/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1