Skip to content

ci(docs): skip build step for now #11

ci(docs): skip build step for now

ci(docs): skip build step for now #11

Workflow file for this run

name: Docs
on:
push:
branches:
- main
paths:
- docs/**
- .github/workflows/docs.yml
- mkdocs.yml
pull_request:
branches:
- main
paths:
- docs/**
- .github/workflows/docs.yml
- mkdocs.yml
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: pip
- name: Install dependencies (python)
run: pip install -r requirements.txt
- name: Build
run: mkdocs build
- name: Upload artifact for deployment
uses: actions/upload-pages-artifact@v3
if: github.event_name != 'pull_request'
with:
path: .docs/
deploy:
name: Deploy to GH Pages
runs-on: ubuntu-latest
needs:
- build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
if: github.event_name != 'pull_request'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4