From 75c2f15955026c38b1ab28b13838090e241e6d31 Mon Sep 17 00:00:00 2001 From: BSd3v <82055130+BSd3v@users.noreply.github.com> Date: Wed, 9 Oct 2024 22:44:52 -0400 Subject: [PATCH] Update tmp_deploy.py updating env --- tmp_deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmp_deploy.py b/tmp_deploy.py index b961b084..988d725b 100644 --- a/tmp_deploy.py +++ b/tmp_deploy.py @@ -42,7 +42,7 @@ latest_time = modified_time latest_tar_gz = file_path -reqs['content'] += f'\n{os.environ.get("ARTIFACT_URL")}' +reqs['content'] += f'\n{os.getenv("ARTIFACT_URL")}' files.append(reqs) def generate_link(files, code): @@ -85,4 +85,4 @@ def post_comment(link): print("Comment added to the pull request.") # Call the function to post the comment -post_comment(link) \ No newline at end of file +post_comment(link)