JJBigThoughts
JJBigThoughts
FFilament
Created by JJBigThoughts on 4/15/2025 in #❓┊help
Is it best-practice to run filament:upgrade on every deploy?
Awesome - thanks @awcodes . You made our day!
12 replies
FFilament
Created by JJBigThoughts on 4/15/2025 in #❓┊help
Is it best-practice to run filament:upgrade on every deploy?
@awcodes We don't commit assets on main, only on the staging branch. So filament:upgrade wasn't getting run. That was our mistake. On our production server, we basically only run
npm cache clean --force
rm -rf node_modules
npm ci

composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
npm cache clean --force
rm -rf node_modules
npm ci

composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
So, follow-up question: Does filament:upgrade need to be run on the production server? Or can run it on, say, our staging server and commit any changes, which would later make their way to production?
12 replies
FFilament
Created by JJBigThoughts on 4/15/2025 in #❓┊help
Is it best-practice to run filament:upgrade on every deploy?
@awcodes It might be almost as simple as that. We have some funky scripts. I think this is exactly the nudge we need. Thanks 😎 J
12 replies
FFilament
Created by JJBigThoughts on 4/15/2025 in #❓┊help
Is it best-practice to run filament:upgrade on every deploy?
No description
12 replies