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();
6
6
7
7
const mySQLdataController = { } ;
8
8
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
9
11
const SSL_KEY =
10
12
typeof process . env . SSL_KEY === 'string'
11
13
? 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');
6
6
dotenv . config ( ) ;
7
7
8
8
const { 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
9
12
const SSL_KEY =
10
13
typeof process . env . SSL_KEY === 'string'
11
14
? Buffer . from ( process . env . SSL_KEY , 'base64' ) . toString ( 'ascii' )
You can’t perform that action at this time.
0 commit comments