Skip to content

⛲ Using the src layout. #10

⛲ Using the src layout.

⛲ Using the src layout. #10

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@v3
- name: ⬇️ Python Dependencies
run: pdm install
- name: 🚂 Activate environment
run: echo "$(pdm venv --path in-project)/bin" >> $GITHUB_PATH
- name: 📰 Publish docs
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: ⬆️ MkDocs deploy
run: mkdocs gh-deploy --force