Skip to content

Commit

Permalink
test dynamically generated step names
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu committed May 13, 2024
1 parent baf31f3 commit 6737b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "CURRENT_HOUR=$current_hour" >> $GITHUB_OUTPUT
echo "HOUR_MINUS_TWO=$hour_minus_two" >> $GITHUB_OUTPUT
- name: process changesets
- name: process changesets for the hour ${{ steps.set_hour.outputs.HOUR_MINUS_TWO }}:00 on ${{ steps.set_date.outputs.CURRENT_DATE }}
run: |
docker run -v ./data:/tmp gradient-pipeline sh -c "node cli.js process-hour $CURRENT_DATE $HOUR_MINUS_TWO"
env:
Expand All @@ -51,7 +51,7 @@ jobs:
env:
HOUR_MINUS_TWO: ${{ steps.set_hour.outputs.HOUR_MINUS_TWO }}

- name: convert to fgb
- name: convert to fgb for the hour ${{ steps.padded_hour.outputs.PADDED_HOUR }}:00 on ${{ steps.set_date.outputs.CURRENT_DATE }}
run: |
docker run -v ./data:/tmp gradient-pipeline sh -c "ogr2ogr -f FlatGeobuf /tmp/${CURRENT_DATE}T${PADDED_HOUR}:00.fgb /tmp/${CURRENT_DATE}T${PADDED_HOUR}:00.geojson -skipfailures"
env:
Expand Down

0 comments on commit 6737b02

Please sign in to comment.