Airdrop for Laravel
View this package on Github github.com/hammerstonehq/airdrop.
Hammerstone Airdrop for Laravel is a package that speeds up your code deploys by skipping your asset build step whenever possible.
When you're deploying your code, Airdrop will calculate a hash of everything needed to build your assets: installed packages, JS/CSS files, ENV vars, etc.
After Airdrop has calculated a hash for these inputs, it will check to see if it has ever built this exact configuration before. If it has, it will pull down the built assets and put them in place, letting you skip the expensive build step.
This can reduce the time your deploys and CI runs take from minutes down to just a few seconds:
We've sped up our @ChipperCI pipeline quite a bit by not building our assets if nothing on the frontend has changed, but instead downloading them from S3 already built.— Aaron Francis (@aarondfrancis) October 4, 2019
Usually takes 1-3 minutes to build the assets, we can pull them off of S3 in seconds! pic.twitter.com/owdZOEcJwP