-
Notifications
You must be signed in to change notification settings - Fork 29
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 #385 from TypeCellOS/main
Main
- Loading branch information
Showing
3 changed files
with
11 additions
and
2 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
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# because we don't want to check in the secrets (even though they are staging) | ||
# we have to source them from a local file for config.toml to work and then run the supabase command | ||
# only necessary for local development, as github actions will have the secrets in env already | ||
if ! test -f .env.local; then | ||
cp .env.local.example .env.local | ||
fi | ||
source .env.local | ||
export TYPECELL_GOOGLE_OAUTH_SECRET | ||
export TYPECELL_GITHUB_OAUTH_SECRET | ||
npx supabase "$@" | ||
npx supabase "$@" |