File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ dotenv.config();
66
77const mySQLdataController = { } ;
88
9+ // SSL data stored as environment variable for GitHub Actions access
10+ // Also stored in .cert file because Elastic Beanstalk has a ~4000 char limit for its environment variables
911const SSL_KEY =
1012 typeof process . env . SSL_KEY === 'string'
1113 ? Buffer . from ( process . env . SSL_KEY , 'base64' ) . toString ( 'ascii' )
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ const dotenv = require('dotenv');
66dotenv . config ( ) ;
77
88const { USER_DB_USER , USER_DB_PW } = process . env ;
9+
10+ // SSL data stored as environment variable for GitHub Actions access
11+ // Also stored in .cert file because Elastic Beanstalk has a ~4000 char limit for its environment variables
912const SSL_KEY =
1013 typeof process . env . SSL_KEY === 'string'
1114 ? Buffer . from ( process . env . SSL_KEY , 'base64' ) . toString ( 'ascii' )
You can’t perform that action at this time.
0 commit comments