Skip to content

Commit d7637e7

Browse files
committed
Docs did not publish on release
Problem: The docs did not publish n release because of missing C dependency. Solution: Added dependency installation instructions to the github publish workflow. Signed-off-by: Paul Hewlett <phewlett76@gmail.com>
1 parent 0ed22d6 commit d7637e7

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/python-publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
python-version: '3.x'
2121
- name: Install dependencies
2222
run: |
23+
export DEBIAN_FRONTEND=noninteractive
24+
sudo apt-get update
25+
sudo apt-get upgrade -y --no-install-recommends
26+
sudo apt-get install -y libenchant-2-2
27+
sudo apt-get autoremove
28+
sudo apt-get autoclean
29+
sudo apt-get clean
30+
sudo rm -rf /var/lib/apt/lists/*
2331
python3 -m pip install --upgrade pip
2432
python3 -m pip install build setuptools wheel twine
2533
- name: Build and publish

Dockerfile-builder

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ ARG VERSION=3.7
22
FROM python:${VERSION}-bullseye
33

44
# Note that any deps installed here must also be installed in the
5-
# github actions workflow .github/workflows/python-package.yml
5+
# github actions workflows:
6+
#
7+
# .github/workflows/python-package.yml
8+
# .github/workflows/python-publish.yml
69
#
710
ENV DEBIAN_FRONTEND noninteractive
811

0 commit comments

Comments
 (0)