Skip to content

Commit

Permalink
Merge pull request #17 from ColoredCow/fix/import-script-unnecessary-…
Browse files Browse the repository at this point in the history
…artifacts

Avoid unnecessary files after running import scripts.
  • Loading branch information
pokhiii authored Jun 8, 2024
2 parents 7eae657 + d5c0eb3 commit f4d46f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ wp-config.php
# Uploads
/wp-content/uploads/

# Upgrade
/wp-content/upgrade/

# Log files
*.log

Expand Down
2 changes: 2 additions & 0 deletions bin/import_civicrm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ cd ..
# Use yes to automate the confirmation prompt
yes y | wp civicrm core restore --backup-dir=$EXPORT_DIR_PATH/civicrm-backup --yes

rm -rf $EXPORT_DIR_PATH/civicrm-backup

echo "Imported ${ZIP_FILE} successfully"

0 comments on commit f4d46f0

Please sign in to comment.