From c3c12cd6570d4a1ce2daddfbf90512a568b29744 Mon Sep 17 00:00:00 2001 From: Perry Zhu Date: Sat, 1 Nov 2025 16:30:15 -0700 Subject: [PATCH] fix: longer script waiting time --- .github/workflows/build-lambda-image.yaml | 2 +- scripts/src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-lambda-image.yaml b/.github/workflows/build-lambda-image.yaml index 29127aa..62eb232 100644 --- a/.github/workflows/build-lambda-image.yaml +++ b/.github/workflows/build-lambda-image.yaml @@ -30,7 +30,7 @@ jobs: env: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} ECR_REPOSITORY: ${{ vars.ECR_REPOSITORY_LAMBDA }} - AWS_S3_BUCKET_NAME: ${{ vars.AWS_S3_BUCKET_NAME }} + AWS_S3_BUCKET_NAME: ${{ vars.AWS_S3_BUCKET }} run: | # Build the Docker image from the 'scripts' directory. # This assumes your Dockerfile is located in 'scripts/Dockerfile'. diff --git a/scripts/src/main.ts b/scripts/src/main.ts index b0fe812..8860579 100644 --- a/scripts/src/main.ts +++ b/scripts/src/main.ts @@ -120,7 +120,7 @@ async function getImageLinksPlaywright(url: string): Promise { timeout: 60000, }); - await page.waitForTimeout(5000); + await page.waitForTimeout(7500); const maxClicks = 5; let clickCount = 0;