run only sync

This commit is contained in:
Jun-te Kim 2025-12-04 20:21:27 +00:00
parent b0974eb583
commit b1f0fb650c

View file

@ -2,7 +2,7 @@ name: Hubspot Sync
on:
schedule:
- cron: '0 6 * * *' # Every day at 06:00 UTC
- cron: '0 2 * * *' # Every day at 06:00 UTC
workflow_dispatch:
jobs:
@ -21,14 +21,14 @@ jobs:
pip install poetry
poetry install --no-root
- name: Run scripts
env:
PYTHONPATH: ${{ github.workspace }}
DATABASE_URL: ${{ secrets.PROD_DATABASE_URL }}
run: |
pwd
ls -la
poetry run python etl/hubSpotClient/scripts/hubspot_abri_etl_first_time.py
# - name: Run scripts
# env:
# PYTHONPATH: ${{ github.workspace }}
# DATABASE_URL: ${{ secrets.PROD_DATABASE_URL }}
# run: |
# pwd
# ls -la
# poetry run python etl/hubSpotClient/scripts/hubspot_abri_etl_first_time.py
- name: Run scripts