Skip to content

Commit

Permalink
Add CI for docs test
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaojunfeng committed Feb 16, 2024
1 parent dfdb98c commit f875ef2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docs_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI test docs
on:
pull_request:
paths:
- docs/**

jobs:
docs:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install -r docs/requirements.txt
- run: mkdocs build
File renamed without changes.

0 comments on commit f875ef2

Please sign in to comment.