required passwords added for db restoration

This commit is contained in:
Mate Majoros 2026-01-13 12:26:31 +02:00
parent 55c02b1843
commit 23c4d3afe2

View file

@ -254,7 +254,7 @@ jobs:
echo \"Restoring from: \$DB_FILE\"
# Construct command using array to handle arguments safely
ARGS=(bench --site ${{ github.event.inputs.site_name }} --force restore \"\$DB_FILE\")
ARGS=(bench --site ${{ github.event.inputs.site_name }} --force restore \"\$DB_FILE\" --db-root-password \"'\"\$MARIADB_ROOT_PASSWORD\"'\" --admin-password \"'\"\$ADMIN_PASSWORD\"'\")
if [ -n \"\$PUBLIC_FILES\" ]; then
echo \"With public files: \$PUBLIC_FILES\"