From 6fe8eed28257e12d6ed6a8d6af30be5c3ad9dcdf Mon Sep 17 00:00:00 2001 From: Mate Majoros Date: Mon, 12 Jan 2026 11:34:46 +0200 Subject: [PATCH] removing command fixed --- .github/workflows/remove-site.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remove-site.yml b/.github/workflows/remove-site.yml index f35c479e..3dacb71f 100644 --- a/.github/workflows/remove-site.yml +++ b/.github/workflows/remove-site.yml @@ -182,7 +182,7 @@ jobs: cd ${{ env.DEPLOY_PATH }} # Remove the backup files (there could be multiple same site name backup folders with incremented numbers at the end in case of multiple removals) - docker compose exec -T backend rm -rf /home/frappe/frappe-bench/archived/sites/${{ github.event.inputs.site_name }}* + docker compose exec -T -e SITE_NAME="${{ github.event.inputs.site_name }}" backend bash -c 'rm -rf /home/frappe/frappe-bench/archived/sites/${SITE_NAME}*' "