File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ RUN if [ "$TARGETARCH" = "arm64" ]; then \
34
34
fi && \
35
35
echo "SITE_URL=$SITE_URL" && \
36
36
# must set SITE_URL via .env.production file for yarn build, important
37
+ # must use .env.production, .env doesn't work
37
38
echo SITE_URL=$SITE_URL > .env.production;
38
39
39
40
RUN echo "ls -la=" && ls -la
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { envField } from 'astro/config';
4
4
import dotenv from 'dotenv' ;
5
5
6
6
import { nodeEnvValues , processEnvSchema } from '../schemas/config' ;
7
+ import { prettyPrintObject } from '../utils/log' ;
7
8
import { getHostnameFromUrl } from '../utils/urls' ;
8
9
import { validateData } from '../utils/validation' ;
9
10
@@ -36,7 +37,7 @@ const processEnvData: ProcessEnvType = {
36
37
PLAUSIBLE_DOMAIN : process . env . PLAUSIBLE_DOMAIN ,
37
38
} ;
38
39
39
- console . log ( ' processEnvData' , processEnvData ) ;
40
+ prettyPrintObject ( processEnvData , ' processEnvData' ) ;
40
41
41
42
export const PROCESS_ENV = validateData ( processEnvData , processEnvSchema ) ;
42
43
You can’t perform that action at this time.
0 commit comments