File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 podcodar:accountId : 9ccff81da5d7c234138d96989610537d
44 podcodar:zoneId : ec5904d9f2d5278ff1ecaf0ca2b71808
55 podcodar:environment : dev
6+ podcodar:discord-invite-url :
7+ secure : v1:bFuY2p5tjPQo1bLf:O2AT5zJEZPOhHq8kHr619itimZBpC72oada4Cuz2J8kDKeMhsy0gc1Zv5N1c
Original file line number Diff line number Diff line change 33 podcodar:accountId : 9ccff81da5d7c234138d96989610537d
44 podcodar:zoneId : ec5904d9f2d5278ff1ecaf0ca2b71808
55 podcodar:environment : production
6+ podcodar:discord-invite-url :
7+ secure : v1:k1SUxsqe0gi3XW9q:YgcOFpVdXhClBNqWkEQtmTyOLZTdLHHaeGmeHiG9mURZMjbzP+IF172NLbi8
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ const config = new pulumi.Config();
88const accountId = config . require ( 'accountId' ) ;
99const zoneId = config . require ( 'zoneId' ) ;
1010const environment = config . require ( 'environment' ) ;
11+ const discordInviteUrl = config . getSecret ( 'discord-invite-url' ) ;
12+
1113const isProd = environment === 'production' ;
1214const workerDomain = isProd ? 'https://prod.podcodar.org' : 'https://dev.podcodar.org' ;
1315
@@ -64,6 +66,11 @@ const workerVersion = new cloudflare.WorkerVersion(
6466 type : 'plain_text' ,
6567 text : workerDomain ,
6668 } ,
69+ {
70+ name : 'DISCORD_INVITE_URL' ,
71+ type : 'plain_text' ,
72+ text : discordInviteUrl ,
73+ } ,
6774 ] ,
6875
6976 modules : builder . stdout . apply ( ( serverDir ) => discoverWorkerModules ( `${ serverDir } /server` ) ) ,
You can’t perform that action at this time.
0 commit comments