File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -202,19 +202,19 @@ Be sure to also update these in your `s3` disk configuration:
202202
203203Deployments are triggered by committing to Git and pushing to GitHub.
204204
205- - Create a new file called ` ./ build.sh` and paste the code snippet below
205+ - Create a new file ` build.sh ` file in your project and paste from the [ example code snippet] ( #example-build-script ) below
206206- Run ` chmod +x build.sh ` on your terminal to make sure the file can be executed when deploying
207207- Import a new site in your [ Vercel] ( https://vercel.com ) account
208208- Link the site to your desired GitHub repository
209209- Set build command to ` ./build.sh `
210- - See [ example build script] ( #example-build-script ) , which you'll also need to add to your project
211210- Set output directory to ` storage/app/static `
212211- Add ` APP_KEY ` env variable, by running ` php artisan key:generate ` locally, and copying from your ` .env `
213212 - ie. ` APP_KEY ` ` your-app-key-value `
214213- Add ` APP_URL ` environment variable after your site has a configured domain
215214 - ie. ` APP_URL ` ` https://thats-numberwang-47392.vercel.app `
216215
217216#### Example Build Script
217+
218218Add the following snippet to ` build.sh ` file to install PHP, Composer, and run the ` ssg:generate ` command:
219219
220220```
You can’t perform that action at this time.
0 commit comments