diff --git a/.github/workflows/gather_hubspot_data.yml b/.github/workflows/gather_hubspot_data.yml index dd42c88..d0254d6 100644 --- a/.github/workflows/gather_hubspot_data.yml +++ b/.github/workflows/gather_hubspot_data.yml @@ -19,11 +19,14 @@ jobs: run: | docker build -f .devcontainer/Dockerfile -t latest-image . - # Run the script inside the container - - name: Run script in container + # Install dependencies + run script inside container + - name: Poetry install & run script run: | docker run \ -v ${{ github.workspace }}:/workspaces/insight \ -w /workspaces/insight/backend \ latest-image \ - poetry run python src/dashboard/src/scripts/hubspot_to_s3.py + bash -c " + poetry install && + poetry run python src/dashboard/scripts/hubspot_to_s3.py + " \ No newline at end of file