Skip to content

Commit

Permalink
ensure script fails when command fails
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Dec 18, 2024
1 parent f73b092 commit 9974b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/load_weekly
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jq -c '.[]' bcgw_sources.json | while read item; do
-nln $source \
--config PG_USE_COPY=YES \
/vsicurl/https://nrs.objectstore.gov.bc.ca/bchamp/bcdata/$source.parquet \
$source
$source || exit 1
fi
done

Expand Down

0 comments on commit 9974b5e

Please sign in to comment.