Skip to content

Commit 29c2717

Browse files
committed
Submit workflow
1 parent f8bfd61 commit 29c2717

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
2828
publish-odr:
2929
needs: check-vector-update
30-
if: needs.check-vector-update.outputs.changed == 'true'
31-
# if: needs.check-vector-update.outputs.changed == 'true' && github.ref == 'refs/heads/master' && github.event_name == 'push'
30+
if: needs.check-vector-update.outputs.changed == 'true' && github.ref == 'refs/heads/master' && github.event_name == 'push'
3231
name: Publish ODR
3332
runs-on: ubuntu-latest
3433

@@ -97,11 +96,7 @@ jobs:
9796
| .value
9897
| sub("/topographic-v2.tar.co$"; "")' config/tileset/topographic-v2.json
9998
)
100-
101-
for file in "${modified_parameter_files[@]}"; do
102-
echo "File changed: $file"
103-
done
10499
105-
# for file in "${modified_parameter_files[@]}"; do
106-
# ./argo-linux-amd64 submit --wait --from wftmpl/copy -n argo -f "$file" -p aws_role_config_path="s3://linz-bucket-config/config-write.open-data-registry.json" -p exclude="collection.json$" --generate-name "publish-odr-file-copy-"
107-
# done
100+
for file in "${modified_parameter_files[@]}"; do
101+
./argo-linux-amd64 submit --wait --from wftmpl/copy -n argo -f "$file" -p aws_role_config_path="s3://linz-bucket-config/config-write.open-data-registry.json" -p include="\.mbtiles?$|\.json$" -p exclude="collection.json$" --generate-name "publish-odr-file-copy-"
102+
done

0 commit comments

Comments
 (0)