Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

πŸ†™ Trigger updates. #47

πŸ†™ Trigger updates.

πŸ†™ Trigger updates. #47

Workflow file for this run

name: Website Build
on:
push:
branches:
- main
jobs:
build-and-deploy:
name: πŸ—οΈ Website Build
runs-on: ubuntu-latest
steps:
- name: πŸ”” Checkout
uses: actions/checkout@v3
- name: πŸ—οΈ python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: ⬇️ Python PDM
uses: pdm-project/setup-pdm@v3
- name: ⬇️ Python Dependencies
run: pdm install
- name: πŸš‚ Activate environment
run: echo "$(pdm venv --path in-project)/bin" >> $GITHUB_PATH
- name: πŸ‡ΊπŸ‡Έ Build English version of the book
run: jupyter-book build book
- name: πŸ‡ΊπŸ‡Έ Deploy English book
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ./book/_build/html
git-config-name: "github-actions[bot]"
git-config-email: "github-actions[bot]@users.noreply.github.com"
commit-message: πŸŽ‰ Book deployed