This package is a good starting point for deploying your full-featured Laravel app using bref.sh.
- Copy the GitHub Action
- Copy
serverless.ymlfile - Install
bref/brefandbref/bref-laravel(note brefphp/laravel-bridge#31) - Make sure you have
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYin your GitHub Repo secrets. - Walk through
.github/workflows/deploy.ymlandserverless.yml, look for references tolaravel-bref-templateand others, and replace them with actual values. - For values referencing ssm, use Bref's dashboard (
vendor/bin/bref dashboard) or use the AWS CLI / Console to create them. - Run
serverless deploy(and useserverless deleteto take down everything that was created)