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
3131 " $first_line " == " // _just doNotModify+hide" ]]; then
3232 continue # Do not insert file
3333 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" />
3535 done
3636 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" />
3838 done
39- echo " <link href=\" _just/e.css\" rel=\" stylesheet\" >" >> " $html_file "
39+ echo " <link href=\" / _just/e.css\" rel=\" stylesheet\" >" >> " $html_file "
4040 echo " $( cat $GITHUB_ACTION_PATH /src/comment.html) " >> " $html_file "
4141 sed -i ' /<\/head>/i\ ' " $( cat " $html_file " ) " " $html_file "
4242done
You can’t perform that action at this time.
0 commit comments