File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 1313 build : # Build web pages
1414 runs-on : ubuntu-latest
1515 steps :
16- - name : sed test
17- run : |
18- mkdir test
19- echo "<figure>" > test.txt
20- echo "before"
21- cat test.txt
22- #man sed
23- sed -i "s/<figure>/<BR clear=all><figure>/g" test.txt
24- echo "after"
25- cat test.txt
26- exit
2716
2817 - name : Install pandoc
2918 uses : pandoc/actions/setup@v1
@@ -43,12 +32,10 @@ jobs:
4332 [ ! -d "${path}/imgs" ] || cp -r "${path}/imgs" ${dest}/
4433 cp tutorial.css ${dest}
4534 for fil in $dirname/*.md; do
46- echo $fil
4735 outfile="${dest}/$(basename "${fil%.md}.html")"
48- echo $outfile
36+ echo "creating $outfile from $fil"
4937 pandoc --standalone ${fil} --css tutorial.css -o ${outfile}
5038 sed -i "s/<figure>/<BR clear=all><figure>/g" ${outfile}
5139 done
52- ls -R ${dest}
5340 done
5441
You can’t perform that action at this time.
0 commit comments