mirror of
https://github.com/netbox-community/Device-Type-Library-Import.git
synced 2025-08-09 13:55:02 +02:00
Add branch support
Set default branch name of 'master' in settings.py and then checkout the branch as appropriate.
This commit is contained in:
@ -3,6 +3,7 @@ from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
REPO_URL = os.getenv("REPO_URL")
|
||||
REPO_BRANCH = os.getenv("REPO_BRANCH", 'master')
|
||||
NETBOX_URL = os.getenv("NETBOX_URL")
|
||||
NETBOX_TOKEN = os.getenv("NETBOX_TOKEN")
|
||||
IGNORE_SSL_ERRORS = (os.getenv("IGNORE_SSL_ERRORS", "False") == "True")
|
||||
|
Reference in New Issue
Block a user