This package is a good starting point for deploying your full-featured Laravel app using bref.sh.
- Copy the GitHub Action
- Copy
serverless.yml
file - Install
bref/bref
andbref/bref-laravel
(note brefphp/laravel-bridge#31) - Make sure you have
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
in your GitHub Repo secrets. - Walk through
.github/workflows/deploy.yml
andserverless.yml
, look for references tolaravel-bref-template
and 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 delete
to take down everything that was created)