Skip to content

Commit

Permalink
feat(research): added stripe env vars to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vihangpatil committed Aug 30, 2023
1 parent 7611906 commit 9b7962e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=op://k33-web-env/$APP_ENV/firebase/MEASUREME
# domains
NEXT_PUBLIC_WEB_DOMAIN=op://k33-web-env/$APP_ENV/domain/WEB
NEXT_PUBLIC_API_DOMAIN=op://k33-web-env/$APP_ENV/domain/API
#algolia
# algolia
NEXT_PUBLIC_ALGOLIA_APP_ID=op://k33-web-env/$APP_ENV/algolia/APP_ID
NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY=op://k33-web-env/$APP_ENV/algolia/SEARCH_API_KEY
# stripe
NEXT_PUBLIC_STRIPE_PRODUCT_ID: op://k33-web-env/$APP_ENV/stripe/PRODUCT_ID
NEXT_PUBLIC_STRIPE_MONTHLY_PRICE_ID: op://k33-web-env/$APP_ENV/stripe/MONTHLY_PRICE_ID
NEXT_PUBLIC_STRIPE_YEARLY_PRICE_ID: op://k33-web-env/$APP_ENV/stripe/YEARLY_PRICE_ID
6 changes: 5 additions & 1 deletion .github/workflows/deploy-research.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,13 @@ jobs:
# domains
NEXT_PUBLIC_WEB_DOMAIN: op://k33-web-env/prod/domain/WEB
NEXT_PUBLIC_API_DOMAIN: op://k33-web-env/prod/domain/API
#algolia
# algolia
NEXT_PUBLIC_ALGOLIA_APP_ID: op://k33-web-env/prod/algolia/APP_ID
NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY: op://k33-web-env/prod/algolia/SEARCH_API_KEY
# stripe
NEXT_PUBLIC_STRIPE_PRODUCT_ID: op://k33-web-env/prod/stripe/PRODUCT_ID
NEXT_PUBLIC_STRIPE_MONTHLY_PRICE_ID: op://k33-web-env/prod/stripe/MONTHLY_PRICE_ID
NEXT_PUBLIC_STRIPE_YEARLY_PRICE_ID: op://k33-web-env/prod/stripe/YEARLY_PRICE_ID
- name: Install dependencies
run: pnpm install
- name: Build local dependencies
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,13 @@ jobs:
# domains
NEXT_PUBLIC_WEB_DOMAIN: op://k33-web-env/prod/domain/WEB
NEXT_PUBLIC_API_DOMAIN: op://k33-web-env/prod/domain/API
#algolia
# algolia
NEXT_PUBLIC_ALGOLIA_APP_ID: op://k33-web-env/prod/algolia/APP_ID
NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY: op://k33-web-env/prod/algolia/SEARCH_API_KEY
# stripe
NEXT_PUBLIC_STRIPE_PRODUCT_ID: op://k33-web-env/prod/stripe/PRODUCT_ID
NEXT_PUBLIC_STRIPE_MONTHLY_PRICE_ID: op://k33-web-env/prod/stripe/MONTHLY_PRICE_ID
NEXT_PUBLIC_STRIPE_YEARLY_PRICE_ID: op://k33-web-env/prod/stripe/YEARLY_PRICE_ID
- name: Install dependencies
run: pnpm install
- name: Build local dependencies
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ jobs:
# domains
NEXT_PUBLIC_WEB_DOMAIN: op://k33-web-env/prod/domain/WEB
NEXT_PUBLIC_API_DOMAIN: op://k33-web-env/prod/domain/API
#algolia
# algolia
NEXT_PUBLIC_ALGOLIA_APP_ID: op://k33-web-env/prod/algolia/APP_ID
NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY: op://k33-web-env/prod/algolia/SEARCH_API_KEY
# stripe
NEXT_PUBLIC_STRIPE_PRODUCT_ID: op://k33-web-env/prod/stripe/PRODUCT_ID
NEXT_PUBLIC_STRIPE_MONTHLY_PRICE_ID: op://k33-web-env/prod/stripe/MONTHLY_PRICE_ID
NEXT_PUBLIC_STRIPE_YEARLY_PRICE_ID: op://k33-web-env/prod/stripe/YEARLY_PRICE_ID
- name: Install dependencies
run: pnpm install
- name: Build local dependencies
Expand Down

0 comments on commit 9b7962e

Please sign in to comment.