mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
removing command fixed
This commit is contained in:
parent
905d8f5f91
commit
6fe8eed282
1 changed files with 1 additions and 1 deletions
2
.github/workflows/remove-site.yml
vendored
2
.github/workflows/remove-site.yml
vendored
|
|
@ -182,7 +182,7 @@ jobs:
|
||||||
cd ${{ env.DEPLOY_PATH }}
|
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)
|
# 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}*'
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue