Skip to content

Commit 9c7d3db

Browse files
authored
Update test_build.yml
1 parent 5c129ac commit 9c7d3db

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/test_build.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,6 @@ jobs:
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

0 commit comments

Comments
 (0)