Skip to content

Commit 6696d44

Browse files
committed
Read algorithmia_api_addr from inputs
1 parent 1a649dc commit 6696d44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/action_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
notebook_path = os.getenv("INPUT_NOTEBOOK_PATH")
1818
model_path = os.getenv("INPUT_MODEL_PATH")
1919
upload_path = os.getenv("INPUT_ALGORITHMIA_UPLOADPATH")
20-
git_host = os.getenv("INPUT_GIT_HOST")
20+
algorithmia_api_addr = os.getenv("INPUT_ALGORITHMIA_API")
2121

2222
error_template_str = "Field '{}' not defined in workflow file. Please check your workflow configuration"
2323
if not algorithmia_api_key:
@@ -40,7 +40,7 @@
4040

4141
algorithmia_deployer = algorithmia_deployer.AlgorithmiaDeployer(
4242
api_key=algorithmia_api_key,
43-
git_host=git_host,
43+
api_address=algorithmia_api_addr,
4444
username=algorithmia_username,
4545
algo_name=algorithmia_algo_name,
4646
model_path=model_path,

0 commit comments

Comments
 (0)