Skip to content

Commit

Permalink
Add the missing environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Diaz Dorado committed May 4, 2024
1 parent 95ccda2 commit b60c9ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ deploy: build/zureg-lambda.txt build/bucket.txt
Hackathon=$(shell jq -r '.ZUREG_HACKATHON' deploy/env.json) \
Email=$(shell jq -r '.ZUREG_EMAIL' deploy/env.json) \
ScannerSecret=$(shell jq -r '.ZUREG_SCANNER_SECRET' deploy/env.json) \
RecaptchaSecret=$(shell jq -r '.ZUREG_RECAPTCHA_SECRET' deploy/env.json) \
HCaptchaSiteKey=$(shell jq -r '.ZUREG_HCAPTCHA_SITEKEY' deploy/env.json) \
HCaptchaSecret=$(shell jq -r '.ZUREG_HCAPTCHA_SECRET' deploy/env.json) \
DiscordGuildID=$(shell jq -r '.ZUREG_DISCORD_GUILD_ID' deploy/env.json) \
Expand Down
5 changes: 5 additions & 0 deletions deploy/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Parameters:
ScannerSecret:
Type: 'String'
Description: 'Secret for accessing the scanner page.'
RecaptchaSecret:
Type: 'String'
Description: 'Secret for ReCaptcha.'
HCaptchaSiteKey:
Type: 'String'
Description: 'SiteKey for HCaptcha.'
Expand Down Expand Up @@ -105,6 +108,7 @@ Resources:
ZUREG_HACKATHON: {'Ref': 'Hackathon'}
ZUREG_EMAIL: {'Ref': 'Email'}
ZUREG_SCANNER_SECRET: {'Ref': 'ScannerSecret'}
ZUREG_RECAPTCHA_SECRET: {'Ref': 'RecaptchaSecret'}
ZUREG_HCAPTCHA_SITEKEY: {'Ref': 'HCaptchaSiteKey'}
ZUREG_HCAPTCHA_SECRET: {'Ref': 'HCaptchaSecret'}
ZUREG_DISCORD_GUILD_ID: {'Ref': 'DiscordGuildID'}
Expand Down Expand Up @@ -203,6 +207,7 @@ Resources:
ZUREG_HACKATHON: {'Ref': 'Hackathon'}
ZUREG_EMAIL: {'Ref': 'Email'}
ZUREG_SCANNER_SECRET: {'Ref': 'ScannerSecret'}
ZUREG_RECAPTCHA_SECRET: {'Ref': 'RecaptchaSecret'}
ZUREG_HCAPTCHA_SITEKEY: {'Ref': 'HCaptchaSiteKey'}
ZUREG_HCAPTCHA_SECRET: {'Ref': 'HCaptchaSecret'}
ZUREG_DISCORD_GUILD_ID: {'Ref': 'DiscordGuildID'}
Expand Down

0 comments on commit b60c9ed

Please sign in to comment.