name: update-macro-indicators # daily, ingesting new releases and revision vintages on: schedule: - cron: "0 7 * * *" workflow_dispatch: jobs: ingest: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: lfs: true - uses: actions/setup-python@v5 with: python-version: "3.12" - run: pip install polars deltalake httpx huggingface_hub - name: Fetch + append (PIT, append-only) run: python ingest.py --since "$(date -u -d '14 days ago' +%F)" - name: Push updated bundle env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | huggingface-cli upload --repo-type dataset \ ZipLime/macro-indicators data/ data/ --token "$HF_TOKEN"