Skip to content

Commit

Permalink
docs: add fallback branch name
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Dvorak <[email protected]>
  • Loading branch information
Tomas2D committed Feb 3, 2024
1 parent 9a7dc08 commit 57604ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docs_examples_generator/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
dirname = Path(__file__).parent.absolute()
dotenv.load_dotenv()

_branch_name = os.environ["BRANCH_NAME"]
_branch_name = os.environ.get("BRANCH_NAME", "main")


class GeneratorConfig(BaseModel):
Expand Down

0 comments on commit 57604ad

Please sign in to comment.