Skip to content

Commit 9f9d51a

Browse files
committed
Ensure gettext is available in the build environment.
1 parent da400f9 commit 9f9d51a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
pip install --upgrade setuptools wheel
2626
pip install -r requirements.txt
2727
lektor plugins reinstall
28+
sudo apt update -y
29+
sudo apt install -y --no-install-recommends gettext
2830
- name: Clean
2931
run : |
3032
lektor clean -O output --yes

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ jobs:
1717
- name: Install dependencies
1818
run: |
1919
pip install --upgrade pip
20-
pip install --upgrade setuptools
20+
pip install --upgrade setuptools wheel
2121
pip install -r requirements.txt
22+
lektor plugins reinstall
23+
sudo apt update -y
24+
sudo apt install -y --no-install-recommends gettext
2225
- name: Build site
2326
run: |
24-
lektor plugins reinstall
2527
lektor build --no-prune
2628
- name: Publish site
2729
env:

0 commit comments

Comments
 (0)