Skip to content

Commit d15c2b2

Browse files
committed
fix: copy logic
1 parent dd34d6f commit d15c2b2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/scripts/checkout-tags.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ do
1717
mv ./decentralized-claims-protocol/* .
1818
cd ..
1919
done
20-
for dir in /tmp/*/
21-
do
22-
if [ -f "index.html" ]; then
20+
for dir in */; do
21+
if [ -f "$dir/index.html" ]; then
2322
echo "index exists."
2423
mkdir -p resources
2524
cp -r artifacts/src/main/resources/* resources

.github/scripts/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="refresh"
6-
content="0;url=https://arnoweiss.github.io/decentralized-claims-protocol/releases/0.8.1/README.md"/>
7-
<link rel="canonical" href="https://arnoweiss.github.io/decentralized-claims-protocol/releases/0.8.1/README.md"/>
6+
content="0;url=https://arnoweiss.github.io/decentralized-claims-protocol/HEAD"/>
7+
<link rel="canonical" href="https://arnoweiss.github.io/decentralized-claims-protocol/HEAD"/>
88
</head>
99
<body>
1010
<h1>
11-
The page been moved to <a href="https://arnoweiss.github.io/decentralized-claims-protocol/releases/0.8.1/README.md">{{THE_NEW_URL}}</a>
11+
The page been moved to <a href="https://arnoweiss.github.io/decentralized-claims-protocol/HEAD">{{THE_NEW_URL}}</a>
1212
</h1>
1313
</body>
1414
</html>

0 commit comments

Comments
 (0)