Skip to content

Migrate to Docusaurus & Yarn Workspaces #38

Migrate to Docusaurus & Yarn Workspaces

Migrate to Docusaurus & Yarn Workspaces #38

Workflow file for this run

name: Build GitHub Pages
on:
push:
branches:
- main
paths:
- "docs/**"
- "mkdocs.yml"
- "requirements.txt"
- ".github/workflows/deploy.yml"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: "3.x"
architecture: "x64"
- run: |
pip install -r requirements.txt
mkdocs build --verbose
- name: Deploy Documentation
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: site # The folder the action should deploy.