Add github actions for deploying the website #1
Workflow file for this run
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: Publish | |
on: | |
branch: source | |
jobs: | |
publish: | |
name: Publish website | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Install dependencies | |
run: | | |
pip install -U pip poetry | |
poetry install | |
- name: Build | |
run: mkdocs build | |
- name: Publish | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: "site" |