Skip to content

Commit

Permalink
Docs did not publish on release
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
eccles committed May 19, 2022
1 parent 0ed22d6 commit d7637e7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get upgrade -y --no-install-recommends
sudo apt-get install -y libenchant-2-2
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
python3 -m pip install --upgrade pip
python3 -m pip install build setuptools wheel twine
- name: Build and publish
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile-builder
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ ARG VERSION=3.7
FROM python:${VERSION}-bullseye

# Note that any deps installed here must also be installed in the
# github actions workflow .github/workflows/python-package.yml
# github actions workflows:
#
# .github/workflows/python-package.yml
# .github/workflows/python-publish.yml
#
ENV DEBIAN_FRONTEND noninteractive

Expand Down

0 comments on commit d7637e7

Please sign in to comment.