From ee38881ed5d43c8307de9bea182bacbe4390c231 Mon Sep 17 00:00:00 2001 From: Willard Nilges Date: Wed, 31 Jul 2024 20:05:40 -0400 Subject: [PATCH] Get s3 saving working on GitHub --- .github/workflows/playwright.yml | 2 +- components/JoinForm/JoinForm.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index aa90c25..cf1cd54 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -27,7 +27,7 @@ jobs: S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }} S3_BASE_NAME: ${{ secrets.TEST_S3_BASE_NAME }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_NAME }} - S3_SECRET_KEY: ${{ secrets.S3_BASE_NAME }} + S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} JOIN_FORM_LOG: /tmp/join.csv - uses: actions/upload-artifact@v4 if: always() diff --git a/components/JoinForm/JoinForm.tsx b/components/JoinForm/JoinForm.tsx index c242422..3c928bf 100644 --- a/components/JoinForm/JoinForm.tsx +++ b/components/JoinForm/JoinForm.tsx @@ -76,7 +76,7 @@ const JoinForm = () => { let parsedForm = parseForm(event); if (parsedForm === undefined) return; // If we were able to glean the form, then save it. - //recordJoinFormSubmissionToS3(parsedForm); + recordJoinFormSubmissionToS3(parsedForm); let j: JoinFormInput = parsedForm; console.log(j); await submitJoinForm(j);