Merge pull request #75 from robmoss/training/spectrum-2024-debugging #128
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
# Build the `master` branch and deploy. | |
name: Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Install Material for MkDocs | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Build the book | |
run: | | |
mkdocs build | |
- name: Deploy GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: site | |
force: false | |
clean-exclude: pr-preview/ |