Provides a deployment utility in the Statamic control panel to view a list of Git commits and deploy specific commits to Laravel Forge.
composer require fixel/forge-deploy
- Publish
forge-deploy-config
viaphp artisan vendor:publish
- Provide your Forge site's server ID, site ID, and deployment token via
.env
variables or config directly - Update Git portion of Forge deployment script to something like this:
git fetch origin
git checkout $FORGE_VAR_HASH