Skip to content

style(formatting): npm run format #37

style(formatting): npm run format

style(formatting): npm run format #37

name: Deploy to GitHub Pages
# Updates the GitHub pages website with the changes made in the last push.
# Takes in all markdown files and images of the repository and turns that
# into HTML to present on the GitHub pages website. Used for documentation.
on:
workflow_dispatch:
push:
branches: [main, master, release, development]
paths: [".github/workflows/push--deploy-github-pages.yaml", "mkdocs.yml", "docs/**"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: github-pages
cancel-in-progress: false
jobs:
build:
name: Build site
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Pages
uses: actions/[email protected]
- name: Set up Python
uses: actions/setup-python@v4
with: { python-version: '3.x' }
- name: Install pip
run: python -m pip install --upgrade pip
- name: Install MkDocs and dependencies
run: >
pip install mkdocs==1.6.1 mkdocs-shadcn==0.9.8 Pygments==2.19.2
mkdocstrings-python==2.0.1 pymdown-extensions==10.19.1
click==8.3.1 ghp-import==2.1.0 jinja2==3.1.6 markdown==3.10
markupsafe==3.0.3 mergedeep==1.3.4 mkdocs-get-deps==0.2.0
pathspec==0.12.1 pyyaml-env-tag==1.1 pyyaml==6.0.3 bottle==0.13.4
watchdog==6.0.0 gitpython==3.1.45 mkdocstrings==1.0.0 griffe==1.15.0
mkdocs-autorefs==1.4.3 python-dateutil==2.9.0.post0 gitdb==4.0.12
smmap==5.0.2 colorama==0.4.6 platformdirs==4.5.1 six==1.17.0
- name: Build site with MkDocs
run: mkdocs --verbose --color build --site-dir ./_site
- name: Upload artifact
uses: actions/[email protected]
with: { path: ./_site }
deploy:
name: Deploy site
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/[email protected]