From 8029a0849cb9294fafbb9f915d84c5fed4813fb6 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 17 Nov 2025 19:04:38 +0000 Subject: [PATCH 1/2] 2 hour timeout --- .github/workflows/gather_hubspot_data.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/gather_hubspot_data.yml b/.github/workflows/gather_hubspot_data.yml index e211fe0..758dc7c 100644 --- a/.github/workflows/gather_hubspot_data.yml +++ b/.github/workflows/gather_hubspot_data.yml @@ -8,6 +8,8 @@ on: jobs: gather_hubspot_data_and_upload_to_s3: runs-on: ubuntu-22.04 + timeout-minutes: 120 # <-- 2 hour timeout + steps: - uses: actions/checkout@v4 From 2cbb7f2b12dc30918b100d4050f4332c8ca474ac Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 17 Nov 2025 19:07:06 +0000 Subject: [PATCH 2/2] add files --- .github/workflows/gather_hubspot_data.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gather_hubspot_data.yml b/.github/workflows/gather_hubspot_data.yml index 758dc7c..dd42c88 100644 --- a/.github/workflows/gather_hubspot_data.yml +++ b/.github/workflows/gather_hubspot_data.yml @@ -22,5 +22,8 @@ jobs: # Run the script inside the container - name: Run script in container run: | - docker run latest-image \ - bash -c "cd backend && poetry run python src/dashboard/src/scripts/hubspot_to_s3.py" + docker run \ + -v ${{ github.workspace }}:/workspaces/insight \ + -w /workspaces/insight/backend \ + latest-image \ + poetry run python src/dashboard/src/scripts/hubspot_to_s3.py