mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-20 21:34:34 -05:00
Fix broken PR builds
This commit is contained in:
parent
09d3669fcf
commit
d80af3968f
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -93,11 +93,16 @@ jobs:
|
|||||||
cp -rl modules/repo-i18n/includes .
|
cp -rl modules/repo-i18n/includes .
|
||||||
cp -rl modules/repo-i18n/theme .
|
cp -rl modules/repo-i18n/theme .
|
||||||
|
|
||||||
- name: Install Python
|
- name: Install Python (pipenv)
|
||||||
|
if: inputs.privileged
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
cache: "pipenv"
|
cache: "pipenv"
|
||||||
|
|
||||||
|
- name: Install Python (no pipenv)
|
||||||
|
if: ${{ !inputs.privileged }}
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
|
||||||
- name: Restore Privacy Plugin Cache
|
- name: Restore Privacy Plugin Cache
|
||||||
uses: actions/cache/restore@v4.0.2
|
uses: actions/cache/restore@v4.0.2
|
||||||
id: privacy_cache_restore
|
id: privacy_cache_restore
|
||||||
@ -146,9 +151,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install mkdocs-material
|
pip install mkdocs-material
|
||||||
sudo apt install pngquant
|
sudo apt install pngquant
|
||||||
|
echo "EXTRA_FLAGS=""$EXTRA_FLAGS" --cmd=mkdocs"" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Build Website
|
- name: Build Website
|
||||||
if: inputs.privileged
|
|
||||||
run: |
|
run: |
|
||||||
eval ./run.sh --build --lang=${{ inputs.lang }} "$EXTRA_FLAGS"
|
eval ./run.sh --build --lang=${{ inputs.lang }} "$EXTRA_FLAGS"
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ Committing to this repository requires [signing your commits](https://docs.githu
|
|||||||
### With `mkdocs-material`
|
### With `mkdocs-material`
|
||||||
|
|
||||||
1. Install required packages: `pip install 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`
|
### With `mkdocs-material-insiders`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user