material on MPI added #76
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: deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy-book: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout merge commit | |
uses: actions/checkout@v4 | |
- name: set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: install dependencies | |
run: | | |
conda install -y python=3.11 | |
conda env update --file environment.yml --name base | |
echo $CONDA/bin >> $GITHUB_PATH | |
- name: build the book | |
run: | | |
cd manuscript;make html | |
- name: deploy book's HTML to gh-pages branch | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: manuscript/_build/html |