|
|
@@ -96,11 +96,12 @@ class ExportZip extends Command
|
|
|
];
|
|
|
}
|
|
|
|
|
|
- $this->info('upload file='.$zipFile);
|
|
|
- Log::debug('export offline: upload file {filename}',['filename'=>$zipFile]);
|
|
|
-
|
|
|
$bucket = config('mint.attachments_bucket_name');
|
|
|
$tmpFile = $bucket.'/'. $zipFile ;
|
|
|
+
|
|
|
+ $this->info('upload file='.$tmpFile);
|
|
|
+ Log::debug('export offline: upload file {filename}',['filename'=>$tmpFile]);
|
|
|
+
|
|
|
Storage::put($tmpFile, file_get_contents($zipFullFileName));
|
|
|
|
|
|
$this->info('upload done file='.$tmpFile);
|