Skip to content

Commit

Permalink
Fix broken PR builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon committed Apr 11, 2024
1 parent 09d3669 commit d80af39
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,16 @@ jobs:
cp -rl modules/repo-i18n/includes .
cp -rl modules/repo-i18n/theme .
- name: Install Python
- name: Install Python (pipenv)
if: inputs.privileged
uses: actions/setup-python@v5
with:
cache: "pipenv"

- name: Install Python (no pipenv)
if: ${{ !inputs.privileged }}
uses: actions/setup-python@v5

- name: Restore Privacy Plugin Cache
uses: actions/cache/[email protected]
id: privacy_cache_restore
Expand Down Expand Up @@ -146,9 +151,9 @@ jobs:
run: |
pip install mkdocs-material
sudo apt install pngquant
echo "EXTRA_FLAGS=""$EXTRA_FLAGS" --cmd=mkdocs"" >> "$GITHUB_ENV"
- name: Build Website
if: inputs.privileged
run: |
eval ./run.sh --build --lang=${{ inputs.lang }} "$EXTRA_FLAGS"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Committing to this repository requires [signing your commits](https://docs.githu
### With `mkdocs-material`

1. Install required packages: `pip install mkdocs-material`
2. Run a local preview of the English site: `./run.sh`
2. Run a local preview of the English site: `./run.sh --cmd=mkdocs`

### With `mkdocs-material-insiders`

Expand Down

0 comments on commit d80af39

Please sign in to comment.