Skip to content

Commit 98effc2

Browse files
committed
fix mkdocs publish action
1 parent d0c3fc5 commit 98effc2

3 files changed

Lines changed: 25 additions & 23 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v6
13-
14-
# TODO updated fork https://github.com/andi34/mkdocs-deploy-gh-pages/tree/nomaterial
15-
- name: Deploy docs
16-
uses: mhausenblas/mkdocs-deploy-gh-pages@nomaterial
17-
env:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: '3.12'
16+
- run: pip install -r requirements.txt
17+
- run: mkdocs gh-deploy --force

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ Ubuntu
3333
# install pip3
3434
sudo apt install -y python3-pip
3535

36-
# install virtualenv globally
36+
# OLD install virtualenv globally
3737
sudo pip3 install virtualenv
38+
# OLD create virtualenv
39+
virtualenv -p $(which python3) venv
3840

3941
# create virtualenv
40-
virtualenv -p $(which python3) venv
42+
python3 -m venv venv
4143

4244
# how-to activate virtualenv
4345
source venv/bin/activate

requirements.txt

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
click==7.1.2
2-
future==0.18.2
3-
Jinja2==2.11.3
4-
joblib==0.14.1
5-
livereload==2.6.1
6-
lunr==0.5.6
7-
Markdown==3.2.2
8-
MarkupSafe==1.1.1
9-
mkdocs==1.1
10-
nltk==3.5
11-
PyYAML==5.4
12-
regex==2020.5.7
13-
six==1.14.0
14-
tornado==6.0.4
15-
tqdm==4.46.0
1+
click==8.3.1
2+
ghp-import==2.1.0
3+
Jinja2==3.1.6
4+
Markdown==3.10.2
5+
MarkupSafe==3.0.3
6+
mergedeep==1.3.4
7+
mkdocs==1.6.1
8+
mkdocs-get-deps==0.2.2
9+
packaging==26.0
10+
pathspec==1.0.4
11+
platformdirs==4.9.4
12+
python-dateutil==2.9.0.post0
13+
PyYAML==6.0.3
14+
pyyaml_env_tag==1.1
15+
six==1.17.0
16+
watchdog==6.0.0

0 commit comments

Comments
 (0)