Skip to content

💣 Remove cache.

💣 Remove cache. #18

Workflow file for this run

name: Build Pages
on: [push]
jobs:
build-and-deploy:
name: 📃 Website Build
runs-on: ubuntu-latest
steps:
- name: 🔔 Check out
uses: actions/checkout@v3
- name: 🏗️ python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: ⬇️ Python PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.10"
- name: ⬇️ Python Dependencies
run: pdm install -G:all
- name: 🚂 Activate environment
run: echo "$(pdm venv --path in-project)/bin" >> $GITHUB_PATH
- name: 🚧 Jupyter build
run: jupyter book build docs
- name: 📰 Publish docs
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ./docs/_build/html
git-config-name: "github-actions[bot]"
git-config-email: "github-actions[bot]@users.noreply.github.com"
commit-message: 🎉 Book deployed