There was an error while loading. Please reload this page.
1 parent 70545ba commit 19634bcCopy full SHA for 19634bc
1 file changed
infra/index.ts
@@ -8,7 +8,7 @@ const config = new pulumi.Config();
8
const accountId = config.require('accountId');
9
const zoneId = config.require('zoneId');
10
const environment = config.require('environment');
11
-const discordInviteUrl = config.getSecret('discord-invite-url');
+const discordInviteUrl = config.requireSecret('discord-invite-url');
12
13
const isProd = environment === 'production';
14
const workerDomain = isProd ? 'https://prod.podcodar.org' : 'https://dev.podcodar.org';
@@ -20,6 +20,7 @@ const builder = new command.local.Command(
20
delete: 'echo "No cleanup necessary"',
21
environment: {
22
BASE_URL: workerDomain,
23
+ DISCORD_INVITE_URL: discordInviteUrl,
24
},
25
26
{ replacementTrigger: getGitCommitHash() }
0 commit comments