Skip to content

Commit 613a4a1

Browse files
committed
Reverted all changes from Dec28
1 parent e81e932 commit 613a4a1

4 files changed

Lines changed: 7 additions & 9 deletions

File tree

entrypoint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/bin/bash
22

3-
#cd $GITHUB_WORKSPACE/main
4-
5-
ls -al
3+
cd $GITHUB_WORKSPACE/main
64

75
# Install the dependencies of this repo to be able to run the notebook
86
pip install -r requirements.txt

src/action_main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77

88
if __name__ == "__main__":
9-
# github_workspace = os.getenv("GITHUB_WORKSPACE")
10-
# workspace = f"{github_workspace}/main"
11-
workspace = os.getenv("GITHUB_WORKSPACE")
9+
github_workspace = os.getenv("GITHUB_WORKSPACE")
10+
workspace = f"{github_workspace}/main"
11+
# workspace = os.getenv("GITHUB_WORKSPACE")
1212
git_repo = os.getenv("GITHUB_REPOSITORY")
1313
git_ref = os.getenv("GITHUB_REF")
1414
commit_SHA = os.getenv("GITHUB_SHA")

src/algorithmia_deployer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __init__(
1818
self.workspace_path = workspace_path
1919

2020
self.model_full_path = f"{workspace_path}/{model_path}"
21-
# self.model_full_path = model_path
21+
self.model_full_path = model_path
2222

2323
def upload_and_link_algo_model(
2424
self, upload_path, git_repo, git_ref, commit_SHA, commit_msg

src/notebook_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
class NotebookExecutor:
88
def __init__(self, workspace_path, notebook_path):
99
self.workspace_path = workspace_path
10-
self.notebook_full_path = f"{workspace_path}/{notebook_path}"
11-
# self.notebook_full_path = notebook_path
10+
# self.notebook_full_path = f"{workspace_path}/{notebook_path}"
11+
self.notebook_full_path = notebook_path
1212

1313
def run(self):
1414
if os.path.exists(self.notebook_full_path):

0 commit comments

Comments
 (0)