Add README on Environment Variables

This commit is contained in:
2024-01-31 19:39:02 -06:00
parent 4f4232ab7c
commit 2d67526e17

View File

@@ -26,3 +26,19 @@ All commands are run from the root of the project, from a terminal:
| `pnpm run astro -- --help` | Get help using the Astro CLI | | `pnpm run astro -- --help` | Get help using the Astro CLI |
Documentation is available [here](https://docs.astro.build). Documentation is available [here](https://docs.astro.build).
## Required Environment Variables
This project requires certain environment variables to be present in order for builds to be successful.
To solve this, create a file named `.env` and place the following inside:
```
PUBLIC_VERCEL_GIT_REPO_OWNER=Xevion
PUBLIC_VERCEL_GIT_REPO_SLUG=undefined.behavio.rs
PUBLIC_VERCEL_GIT_COMMIT_SHA=ABC12345
```
These variables will be provided by Vercel upon build, so the `.env` file is only useful in development mode.