Skip to content

Commit 3406e8f

Browse files
author
tsoganov
committed
Updated deploy.yml
1 parent db2c8b6 commit 3406e8f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

make.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ if [ ! -f index.html ]; then
1212
fi
1313

1414
# Add favicon
15-
sed -i '' '8i\
16-
<link rel="icon" type="image/png" href="docs/favicon.png"/>' index.html
15+
{
16+
head -n 7 index.html
17+
echo ' <link rel="icon" type="image/png" href="docs/favicon.png"/>'
18+
tail -n +8 index.html
19+
} > temp.html && mv temp.html index.html
1720

1821
echo -e "\nDone!"

0 commit comments

Comments
 (0)