Skip to content

Commit

Permalink
inherit vars from os.environ
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo authored Dec 22, 2024
1 parent d05fc16 commit b8a9038
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Script to generate docs based on given input directory (first argument)
and output directory (second argument)"""
import os
import subprocess
import sys
import glob
Expand Down Expand Up @@ -27,6 +28,6 @@
"--math",
"--mermaid",
],
env={"PDOC_ALLOW_EXEC": "1"},
env={**os.environ, "PDOC_ALLOW_EXEC": "1"},
check=True,
)

0 comments on commit b8a9038

Please sign in to comment.