Skip to content

Commit

Permalink
fix(#743): "drupal:db-import" frozen if $DB_DIR/db.sql.gz already exi…
Browse files Browse the repository at this point in the history
…sts.
  • Loading branch information
penyaskito committed Dec 3, 2024
1 parent 5496fde commit e7677b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/drupal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ tasks:
- echo "🚮 Dropping existing database"
- ./vendor/bin/drush {{ .site }} sql:drop --yes
- echo "📰 Importing database"
- gunzip -k $DB_DIR/db.sql.gz
- gunzip --keep --force $DB_DIR/db.sql.gz
- ./vendor/bin/drush {{ .site }} sql:query --file=$DB_DIR/db.sql
- defer: rm -f $DB_DIR/db.sql
export-db:
Expand Down

0 comments on commit e7677b2

Please sign in to comment.