Skip to content

Commit d67e5bb

Browse files
author
Sylvain MARIE
committed
Fixed doc deployment
1 parent e480c6d commit d67e5bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ def publish(session: PowerSession):
196196
session.install_reqs(phase="mkdocs", phase_reqs=["mkdocs-material", "mkdocs", "pymdown-extensions", "pygments"])
197197

198198
# possibly rebuild the docs in a static way (mkdocs serve does not build locally)
199-
session.run2("mkdocs build -f ./docs/mkdocs.yml")
199+
session.run2("mkdocs build")
200200

201201
# check that the doc has been generated with coverage
202202
if not Folders.site_reports.exists():
203203
raise ValueError("Test reports have not been built yet. Please run 'nox -s tests-3.7' first")
204204

205205
# publish the docs
206-
session.run2("mkdocs gh-deploy -f ./docs/mkdocs.yml")
206+
session.run2("mkdocs gh-deploy")
207207

208208
# publish the coverage - now in github actions only
209209
# session.install_reqs(phase="codecov", phase_reqs=["codecov", "keyring"])

0 commit comments

Comments
 (0)