diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..f49521b --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +NEXT_PUBLIC_API_URL=https://chat.iceberg.black/api/chat/v1 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 2c08a5d..fb7ac70 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ yarn-error.log* # env files (can opt-in for committing if needed) .env* +!.env.production # husky .husky diff --git a/README.md b/README.md index 93f6e42..73f8aee 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ Change all lines with [TO CHANGE] + public/manifest.json - Ensure all git secrets or variables exist - Ensure all docker links exist on distant machine -- Ensure env file exists on remote machine +- Ensure env file exists on remote machine. If client needs access to env var put it in .env.production so var in included at build (DONT PUT SECRETS). ## Auto deploy