Fixed '\mathcal{I}' latex error when it should have just been 'I' #162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow for deploying fdm-jupyter-book to GitHub Pages (https://www.devitoproject.org/devito_book/) | |
name: Deploy Jupyter Book | |
# Only run this when the master branch changes | |
on: | |
push: | |
branches: | |
- master | |
# This job installs dependencies, build the book, and pushes it to `gh-pages` | |
jobs: | |
deploy-book: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Install dependencies | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install --user git+https://github.com/devitocodes/devito.git | |
# Build the book | |
- name: Build the book | |
run: | | |
npm rebuild node-sass | |
jupyter-book clean fdm-jupyter-book | |
jupyter-book build fdm-jupyter-book | |
# Push the book's HTML to github-pages | |
- name: GitHub Pages action | |
uses: peaceiris/actions-gh-pages@v3.9.1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./fdm-jupyter-book/_build/html |