Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/workflows/local_area_publish.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Publish Local Area H5 Files

on:
push:
branches: [main]
paths:
- 'policyengine_us_data/datasets/cps/local_area_calibration/**'
- '.github/workflows/local_area_publish.yaml'
- 'modal_app/**'
repository_dispatch:
types: [calibration-updated]
# TEMPORARILY DISABLED - re-enable push/repository_dispatch triggers when ready
# push:
# branches: [main]
# paths:
# - 'policyengine_us_data/datasets/cps/local_area_calibration/**'
# - '.github/workflows/local_area_publish.yaml'
# - 'modal_app/**'
# repository_dispatch:
# types: [calibration-updated]
workflow_dispatch:
inputs:
num_workers:
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
SKIP_UPLOAD="${{ github.event.inputs.skip_upload || 'false' }}"
BRANCH="${{ github.head_ref || github.ref_name }}"

CMD="modal run modal_app/local_area.py --branch=${BRANCH} --num-workers=${NUM_WORKERS}"
CMD="modal run modal_app/local_area.py::main --branch=${BRANCH} --num-workers=${NUM_WORKERS}"

if [ "$SKIP_UPLOAD" = "true" ]; then
CMD="${CMD} --skip-upload"
Expand Down
Loading