Skip to content

Commit eb6b09b

Browse files
committed
Update the target for testing
1 parent 897ddb6 commit eb6b09b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ jobs:
101101
for file in "${modified_parameter_files[@]}"; do
102102
# Set the target path based on the source file
103103
# i.e. source s3://linz-basemaps/vector/2193/topographic/01JYDG2VFBM0H057D3S4TB8GFP/ to target s3://nz-topography/vector/2193/
104-
target=$(echo "$file" | sed -E 's|^s3://linz-basemaps/vector/|s3://nz-topography/vector/|' | sed -E 's|/topographic/[^/]+/?$|/|')
104+
target=$(echo "$file" | sed -E 's|^s3://linz-basemaps/vector/|s3://linz-basemaps-staging/vector/|' | sed -E 's|/topographic/[^/]+/?$|/|')
105105
echo "Submitting Argo job: source=$file target=$target"
106106
107107
# Submit the Argo workflow for each projection
108-
./argo-linux-amd64 submit --wait --from wftmpl/copy -n argo -p source="$file" -p target="s3://linz-basemaps-staging/test/odr/" -p aws_role_config_path="s3://linz-bucket-config/config.basemaps.json" -p include="\.mbtiles?$|\.json$" --generate-name "publish-odr-file-copy-"
108+
./argo-linux-amd64 submit --wait --from wftmpl/copy -n argo -p source="$file" -p target="$target" -p aws_role_config_path="s3://linz-bucket-config/config.basemaps.json" -p include="\.mbtiles?$|\.json$" --generate-name "publish-odr-file-copy-"
109109
done

0 commit comments

Comments
 (0)