Last active
October 6, 2021 20:45
-
-
Save codepotato/8b05416c2ce135c6b23ab9d81bb97ef4 to your computer and use it in GitHub Desktop.
Simplify deployments with Lasso and Laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "--------------------------------------" | |
echo "==> Lasso that shizzle" | |
echo "--------------------------------------" | |
php artisan lasso:publish | |
echo "--------------------------------------" | |
echo "==> Adding the created json to GIT" | |
echo "--------------------------------------" | |
git add -A | |
git commit -m "Updated assets wrangled 🤠" | |
echo "--------------------------------------" | |
echo "==> Let's go deploy that now for you" | |
echo "--------------------------------------" | |
git push | |
echo "" | |
echo "" | |
echo "✔ All Done!" |
I'm THAT lazy that I can't be arsed to write four commands.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For those landing here and thinking WTF, if you make a deploy.sh file in the root of your laravel installation, copy in the above (tweak if required) and then run the chmod command above you can then type
./deploy.sh
to automatically run lasso and commit for a deployment.