mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-05 23:16:45 -06:00
Add README on Environment Variables
This commit is contained in:
16
README.md
16
README.md
@@ -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 |
|
||||
|
||||
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.
|
||||
Reference in New Issue
Block a user