Skip to content

Commit

Permalink
Update Github actions config
Browse files Browse the repository at this point in the history
ensure mkdocs-material python build environment dependencies are based on the requirements-mkdocs.txt spec instead of a 1-line pip install command
  • Loading branch information
brent-stone committed Feb 26, 2024
1 parent b2d02bc commit 483f6e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@main
with:
python-version: 3.x
python-version: '3.11'
cache: 'pip'
- run: pip install -r requirements/requirements-mkdocs.txt

- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@main
Expand All @@ -29,5 +31,4 @@ jobs:
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material mkdocstrings[python]
- run: mkdocs gh-deploy --force

0 comments on commit 483f6e0

Please sign in to comment.