Skip to content

Commit

Permalink
Correction for dataset-dir param
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcundill authored Nov 4, 2024
1 parent 1d58321 commit 721e709
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions task/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if [ -n "$READ_S3_BUCKET" ]; then
echo Building organisation data package - using collection files from S3 bucket $READ_S3_BUCKET
aws s3 sync s3://$READ_S3_BUCKET/$DATA_PACKAGE_NAME/$DATASET_DIR $DATASET_DIR --no-progress
digital-land organisation-create \
--datset-dir $DATASET_DIR \
--dataset-dir $DATASET_DIR \
--output-path $DATASET_DIR/organisation.csv
else
echo Building organisation data package - using collection files from CDN
Expand All @@ -76,4 +76,4 @@ ls -l $DATASET_DIR || true
if [ -n "$WRITE_S3_BUCKET" ]; then
echo Pushing package to S3 bucket $WRITE_S3_BUCKET
aws s3 sync $DATASET_DIR s3://$WRITE_S3_BUCKET/$DATA_PACKAGE_NAME/$DATASET_DIR --no-progress
fi
fi

0 comments on commit 721e709

Please sign in to comment.