From 7516c9763ce402c448fdd0712ca8dca30c2d1be2 Mon Sep 17 00:00:00 2001 From: arnoweiss Date: Mon, 16 Dec 2024 20:55:25 +0100 Subject: [PATCH] fix: add dir --- .github/scripts/checkout-tags.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/scripts/checkout-tags.sh b/.github/scripts/checkout-tags.sh index 1077085..3d3369d 100644 --- a/.github/scripts/checkout-tags.sh +++ b/.github/scripts/checkout-tags.sh @@ -17,12 +17,13 @@ do mv ./decentralized-claims-protocol/* . cd .. done +pwd for dir in */; do if [ -f "$dir/index.html" ]; then echo "index exists." - mkdir -p resources - cp -r artifacts/src/main/resources/* resources - rm -rf artifacts + mkdir -p $dir/resources + cp -r $dir/artifacts/src/main/resources/* $dir/resources + rm -rf $dir/artifacts else echo "index does not exist. No copy operations" fi