Skip to content

Commit

Permalink
Fixed data dir creation in the export file script.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Dec 12, 2024
1 parent 99d0f06 commit 39a33ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/vortex/export-db-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dump_file=$([ "${1:-}" ] && echo "${VORTEX_DB_EXPORT_FILE_DIR}/${1}" || echo "${
dump_file_drush="${dump_file/#.\//../}"

# Create a directory to store database dump.
mkdir -p "$(dirname "${dump_file_drush}")"
mkdir -p "${VORTEX_DB_EXPORT_FILE_DIR}"

# Dump database into a file.
drush sql:dump --skip-tables-key=common --extra-dump=--no-tablespaces --result-file="${dump_file_drush}" -q
Expand Down

1 comment on commit 39a33ba

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.