File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ find deploy -type f -name "*.html" | while read -r html_file; do # Get all HTML
31
31
" $first_line " == " // _just doNotModify+hide" ]]; then
32
32
continue # Do not insert file
33
33
fi
34
- echo " <script src=\" _just/$( basename " $js_file " ) \" ></script>" >> " $html_file " # Insert js files as <script src="PATH TO FILE" />
34
+ echo " <script src=\" / _just/$( basename " $js_file " ) \" ></script>" >> " $html_file " # Insert js files as <script src="PATH TO FILE" />
35
35
done
36
36
for css_file in deploy/_just/* .css; do
37
- echo " <link href=\" _just/$( basename " $css_file " ) \" rel=\" stylesheet\" >" >> " $html_file " # Insert css files as <link href="PATH TO FILE" rel="stylesheet" />
37
+ echo " <link href=\" / _just/$( basename " $css_file " ) \" rel=\" stylesheet\" >" >> " $html_file " # Insert css files as <link href="PATH TO FILE" rel="stylesheet" />
38
38
done
39
- echo " <link href=\" _just/e.css\" rel=\" stylesheet\" >" >> " $html_file "
39
+ echo " <link href=\" / _just/e.css\" rel=\" stylesheet\" >" >> " $html_file "
40
40
echo " $( cat $GITHUB_ACTION_PATH /src/comment.html) " >> " $html_file "
41
41
sed -i ' /<\/head>/i\ ' " $( cat " $html_file " ) " " $html_file "
42
42
done
You can’t perform that action at this time.
0 commit comments