mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for migration mailer
This commit is contained in:
parent
c94c3fa373
commit
4b147ca77a
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -48,6 +48,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo rm -rf bootstrap/cache/*
|
sudo rm -rf bootstrap/cache/*
|
||||||
sudo rm -rf node_modules
|
sudo rm -rf node_modules
|
||||||
|
- name: Prune Git History
|
||||||
|
run: |
|
||||||
|
sudo git gc
|
||||||
|
sudo git gc --aggressive
|
||||||
|
sudo git prune
|
||||||
- name: Build project # This would actually build your project, using zip for an example artifact
|
- name: Build project # This would actually build your project, using zip for an example artifact
|
||||||
run: |
|
run: |
|
||||||
zip -r ./invoiceninja.zip .* -x "../*"
|
zip -r ./invoiceninja.zip .* -x "../*"
|
||||||
|
@ -214,7 +214,7 @@ class Import implements ShouldQueue
|
|||||||
// if($check_data['status'] == 'errors')
|
// if($check_data['status'] == 'errors')
|
||||||
// throw new ProcessingMigrationArchiveFailed(implode("\n", $check_data));
|
// throw new ProcessingMigrationArchiveFailed(implode("\n", $check_data));
|
||||||
|
|
||||||
Mail::to($this->user)
|
Mail::to($this->user->email, $this->user->name())
|
||||||
->send(new MigrationCompleted($this->company, implode("<br>",$check_data)));
|
->send(new MigrationCompleted($this->company, implode("<br>",$check_data)));
|
||||||
|
|
||||||
/*After a migration first some basic jobs to ensure the system is up to date*/
|
/*After a migration first some basic jobs to ensure the system is up to date*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user