Skip to content

Commit

Permalink
Remove redundant build.sh note.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Jan 16, 2025
1 parent c6eb097 commit 1713855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,19 +202,19 @@ Be sure to also update these in your `s3` disk configuration:

Deployments are triggered by committing to Git and pushing to GitHub.

- Create a new file called `./build.sh` and paste the code snippet below
- Create a new file `build.sh` file in your project and paste from the [example code snippet](#example-build-script) below
- Run `chmod +x build.sh` on your terminal to make sure the file can be executed when deploying
- Import a new site in your [Vercel](https://vercel.com) account
- Link the site to your desired GitHub repository
- Set build command to `./build.sh`
- See [example build script](#example-build-script), which you'll also need to add to your project
- Set output directory to `storage/app/static`
- Add `APP_KEY` env variable, by running `php artisan key:generate` locally, and copying from your `.env`
- ie. `APP_KEY` `your-app-key-value`
- Add `APP_URL` environment variable after your site has a configured domain
- ie. `APP_URL` `https://thats-numberwang-47392.vercel.app`

#### Example Build Script

Add the following snippet to `build.sh` file to install PHP, Composer, and run the `ssg:generate` command:

```
Expand Down

0 comments on commit 1713855

Please sign in to comment.