From 6d5a8df3f4375f6d4f0ff59b34147ffae5221228 Mon Sep 17 00:00:00 2001 From: Calvin Chan Date: Tue, 22 Feb 2022 12:27:52 -0800 Subject: [PATCH] Fix ghaction bug --- src/azure-cli/azure/cli/command_modules/appservice/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/appservice/custom.py b/src/azure-cli/azure/cli/command_modules/appservice/custom.py index 43ac5c49d96..6d2dbe3efbf 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/custom.py +++ b/src/azure-cli/azure/cli/command_modules/appservice/custom.py @@ -5158,7 +5158,7 @@ def remove_github_actions(cmd, resource_group, name, repo, token=None, slot=None branch.replace('/', '-'), name.lower(), slot) if slot else "{}_{}.yml".format( branch.replace('/', '-'), name.lower()) dir_path = "{}/{}".format('.github', 'workflows') - file_path = "/{}/{}".format(dir_path, file_name) + file_path = "{}/{}".format(dir_path, file_name) existing_publish_profile_name = None try: existing_workflow_file = github_repo.get_contents(path=file_path, ref=branch)