initial sync
This commit is contained in:
commit
3d093d1a39
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Run the PHP command
|
||||||
|
php /app/code/artisan lychee:sync /app/code/public/uploads/import/
|
||||||
|
|
||||||
|
# Check if the PHP command succeeded
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
# Delete all files and folders inside the directory
|
||||||
|
rm -rf /app/code/public/uploads/import/*
|
||||||
|
fi
|
Loading…
Reference in New Issue