If you are just adding static files, why not add a directory to your version control and then deploy them as you would do with site assets?
Sep 23, 2021
3
Level 4
Artisan script to uplaod images?
On rare occasions, I need to upload resources to my website, I cannot see the point in creating a form and protecting it etc.
I was hoping to write a simple artisan script that would create a model, and upload an image (and process it like my site processes other images that a standard user uploads).
Is it possible to run an artisan script on a live site, and upload files from my local hard drive to the live site for processing and sending to S3? How?
Note: i'm aware of issues of doing things like this on a live site. This will be on rare occasions.
Please or to participate in this conversation.