File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 3333 MONGODB_NAME : ${{ secrets.MONGODB_NAME }}
3434 ORY_SDK_URL : ${{ secrets.ORY_SDK_URL }}
3535 ORY_ACCESS_TOKEN : ${{ secrets.ORY_ACCESS_TOKEN }}
36- ORYCLOUD : true
36+ ORYCLOUD : " enabled "
3737 ALETHEIA_SCHEMA_ID : ${{ secrets.ALETHEIA_SCHEMA_ID }}
3838 RECAPTCHA_SITEKEY : ${{ secrets.RECAPTCHA_SITEKEY }}
3939 NOVU_API_KEY : ${{ secrets.NOVU_API_KEY }}
@@ -112,6 +112,7 @@ jobs:
112112 ORY_ACCESS_TOKEN : ${{ secrets.ORY_ACCESS_TOKEN }}
113113 RECAPTCHA_SITEKEY : ${{ secrets.RECAPTCHA_SITEKEY }}
114114 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
115+ ORYCLOUD : " enabled"
115116 TAG : ${{ github.sha}}
116117 steps :
117118 - name : Checkout
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ ARG NEXT_PUBLIC_UMAMI_SITE_ID
44ARG NEXT_PUBLIC_RECAPTCHA_SITEKEY
55ARG NEXT_PUBLIC_ENVIRONMENT
66ARG NEXT_PUBLIC_ORY_SDK_URL
7+ ARG NEXT_PUBLIC_ORYCLOUD
78ARG ENVIRONMENT
89ENV PARCEL_WORKERS=1
910ENV NEW_RELIC_NO_CONFIG_FILE=true
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import "package://pkg.pkl-lang.org/pkl-k8s/k8s@1.0.1#/api/core/v1/PodSpec.pkl"
55hidden namespace = ""
66hidden imagePath = ""
77hidden podPort = ""
8- hidden oryCloud = "true"
98
109container : PodSpec .Container = new {
1110 name = ""
@@ -50,7 +49,7 @@ container: PodSpec.Container = new {
5049 }
5150 new {
5251 name = "NEXT_PUBLIC_ORYCLOUD"
53- value = oryCloud
52+ value = read ( "env:ORYCLOUD" )
5453 }
5554 }
5655
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { edgeConfig } from "@ory/integrations/next";
33
44let oryConfig = new Configuration ( edgeConfig ) ;
55
6- if ( process . env . NEXT_PUBLIC_ORYCLOUD === "true " ) {
6+ if ( process . env . NEXT_PUBLIC_ORYCLOUD === "enabled " ) {
77 oryConfig = new Configuration ( {
88 basePath : process . env . NEXT_PUBLIC_ORY_SDK_URL ,
99 baseOptions : {
You can’t perform that action at this time.
0 commit comments