fix error with fortranmagic #85
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
name: jupyter-book | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy-book: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: fortran-lang/setup-fortran@v1 | |
with: | |
compiler: gcc | |
version: 12 | |
- uses: actions/setup-python@v5 | |
- uses: julia-actions/setup-julia@v2 | |
- name: Install python dependencies | |
run: python -m pip install -r requirements.txt | |
- name: Install Julia packages | |
run: julia -e ' using Pkg; Pkg.add(["REPL", "PyCall"]); Pkg.build("PyCall")' | |
- name: Build the book | |
run: jupyter-book build notebooks | |
- name: GitHub Pages action | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./notebooks/_build/html |