docs: implement new documentation style, context files, and a simple … #10
This file contains hidden or 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: Deploy Documentation | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| permissions: | ||
| contents: write | ||
| jobs: | ||
| deploy-docs: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Set up PDM | ||
| uses: pdm-project/setup-pdm@v4 | ||
| with: | ||
| python-version: '3.12' | ||
| cache: true | ||
| - name of: Install dependencies | ||
| run: pdm install -d | ||
| - name: Deploy with MkDocs | ||
| run: pdm run mkdocs gh-deploy --force --clean | ||