Skip to content

Commit 1950492

Browse files
committed
Docs did not publish on release
Problem: The docs did not publish a release because of a buggy github action. Solution: Removed action and attempt to do it manually. Signed-off-by: Paul Hewlett <phewlett76@gmail.com>
1 parent b3f0a11 commit 1950492

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,16 @@ 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
32+
python3 -m pip install -r requirements-dev.txt
2433
python3 -m pip install build setuptools wheel twine
2534
- name: Build and publish
2635
env:
@@ -33,10 +42,10 @@ jobs:
3342
twine check dist/*
3443
twine upload dist/*
3544
- name: Build docs
36-
uses: ammaraskar/sphinx-action@master
37-
with:
38-
docs-folder: "docs/"
39-
pre-build-command: "apt-get install -y libenchant-2-2"
45+
run: |
46+
ls -l
47+
cd ./docs
48+
make html
4049
- name: Publish docs
4150
uses: peaceiris/actions-gh-pages@v3
4251
with:

0 commit comments

Comments
 (0)