Skip to content

Commit ed58647

Browse files
Fixed typos in deployment script
1 parent b3f9cba commit ed58647

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
working-directory: client
8787
env:
8888
NEXT_PUBLIC_API_URL: ${{ needs.terraform.outputs.api_gateway_url }}
89-
NEXT_PUBLIC_RECAPTCHA_SITE_KEY: ${{ secrets.NEXT_PUBLIC_RECAPTCHA_SITE_KEY }
89+
NEXT_PUBLIC_RECAPTCHA_SITE_KEY: ${{ secrets.NEXT_PUBLIC_RECAPTCHA_SITE_KEY }}
9090
run: npm run build
9191

9292
- name: Sync to S3
@@ -113,7 +113,7 @@ jobs:
113113

114114
- name: Package Lambda Function
115115
run: |
116-
pip install -r lambda/requirments.txt -t lambda/package/ --quiet
116+
pip install -r lambda/requirements.txt -t lambda/package/ --quiet
117117
cp lambda/handler.py lambda/package/
118118
cd lambda/package && zip -r ../../lambda.zip .
119119

‎client/src/components/ContactMe/ContactMe.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function ContactMe() {
4646
try {
4747
const siteKey = process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY;
4848
const recaptcha_token = await new Promise<string>((resolve, reject) => {
49-
window.grecaptcha.readyu(() => {
49+
window.grecaptcha.ready(() => {
5050
window.grecaptcha.execute(siteKey!, { action: 'contact_form'}).then(resolve).catch(reject)
5151
});
5252
});

0 commit comments

Comments
 (0)