If, like me, you find issues deploying Craft’s project config on Fortrabbit, you might use this script.
This script…
- Erases project config files on the remote
- Then uses
rsync
to upload your local config files - Clears Craft’s caches on the remote (helpful if you’re adding plugins/licenses)
- Runs any pending migrations
- Applies the latest project config files
Add the script to your composer.json
and update the app name and deploy URL (if needed).