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