mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 07:45:09 +00:00
description updated and echo added
This commit is contained in:
parent
39949bb7db
commit
0de9e393b7
1 changed files with 2 additions and 1 deletions
3
.github/workflows/restore-site.yml
vendored
3
.github/workflows/restore-site.yml
vendored
|
|
@ -21,7 +21,7 @@ on:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
absolute_backup_dir_path:
|
absolute_backup_dir_path:
|
||||||
description: '(Optional) Absolute path to the backup directory (the backup files contained in the directory should match the the following naming convention: <timestamp>-<site_name>-database.sql.gz, <timestamp>-<site_name>-files.tar, <timestamp>-<site_name>-private-files.tar.gz)'
|
description: '(Optional) Absolute path to the backup directory (the backup files contained in the directory should match the the following naming convention: <timestamp>-<site_name>-database.sql.gz, <timestamp>-<site_name>-files.tar, <timestamp>-<site_name>-private-files.tar)'
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
|
@ -131,6 +131,7 @@ jobs:
|
||||||
|
|
||||||
docker compose exec -T backend bash -c '
|
docker compose exec -T backend bash -c '
|
||||||
if [ -n \"${{ github.event.inputs.absolute_backup_dir_path }}\" ]; then
|
if [ -n \"${{ github.event.inputs.absolute_backup_dir_path }}\" ]; then
|
||||||
|
echo "Using absolute backup directory: ${{ github.event.inputs.absolute_backup_dir_path }}"
|
||||||
BACKUP_DIR=\"${{ github.event.inputs.absolute_backup_dir_path }}\"
|
BACKUP_DIR=\"${{ github.event.inputs.absolute_backup_dir_path }}\"
|
||||||
else
|
else
|
||||||
# Check both possible archived locations
|
# Check both possible archived locations
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue