From c036aaf9c845c319c1cff34fc251369674891ca6 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Tue, 25 Jun 2024 13:12:36 +0400 Subject: [PATCH] updated wordpress github action --- .github/scripts/wordpress-plugins-update.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/scripts/wordpress-plugins-update.py b/.github/scripts/wordpress-plugins-update.py index 4d57c1873b2..2a05e76c358 100644 --- a/.github/scripts/wordpress-plugins-update.py +++ b/.github/scripts/wordpress-plugins-update.py @@ -124,7 +124,6 @@ info: http: - method: GET - path: - "{{{{BaseURL}}}}/wp-content/plugins/{name}/readme.txt" @@ -171,7 +170,7 @@ http: if not os.path.exists(template_dir): os.makedirs(template_dir) - helper_path = f"helpers/wordpress/plugins/{name}.txt" + helper_path = f"{work_dir}/helpers/wordpress/plugins/{name}.txt" version_file = open(helper_path, "w") version_file.write(version) version_file.close()