-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #270 from technologiestiftung/staging
Staging to prod
- Loading branch information
Showing
26 changed files
with
1,699 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ jobs: | |
- run: | | ||
supabase link --project-ref $PRODUCTION_PROJECT_ID | ||
supabase db push | ||
supabase functions deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ jobs: | |
- run: | | ||
supabase link --project-ref $STAGING_PROJECT_ID | ||
supabase db push | ||
supabase functions deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ALLOWED_ORIGIN=http://localhost:5173 | ||
SMTP_HOST=... | ||
SMTP_USER=... | ||
SMTP_PASSWORD=... | ||
SMTP_FROM=... | ||
SMTP_PORT=... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ALLOWED_ORIGIN=http://localhost:5173 | ||
SMTP_HOST=host.docker.internal | ||
SMTP_USER="" | ||
SMTP_PASSWORD="" | ||
SMTP_FROM=giessdenkiez@citylab-berlin.org | ||
SMTP_PORT=1025 | ||
SMTP_SECURE=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export const loadEnvVars = (vars: string[]) => { | ||
const missingVars = vars.filter((v) => !Deno.env.get(v)); | ||
if (missingVars.length > 0) { | ||
throw new Error(`Missing environment variables: ${missingVars.join(", ")}`); | ||
} | ||
return vars.map((v) => Deno.env.get(v)); | ||
}; |
Oops, something went wrong.