File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -31,27 +31,25 @@ jobs:
3131 - name : Setup Pages
3232 id : pages
3333 uses : actions/configure-pages@v5
34- - name : Build with Jekyll
35- uses : actions/jekyll-build-pages@v1
36- with :
37- source : ./docs
38- destination : ./_site
3934
4035 - name : Test
4136 run : |
42- mkdir blah
4337 podman run -v $PWD:/srv:z --workdir /srv -it --rm fedora \
4438 sh -c 'dnf install -y scd2html; \
4539 pre="---\nlayout: default\ntitle: Hello\n---\n"; \
4640 for file in docs/man/*.scd; do \
4741 out=$(basename $file | sed "s/scd$/html/"); \
48- echo -e "$pre" > blah /$out; \
49- scd2html < $file >> blah /$out; \
42+ echo -e "$pre" > docs/man /$out; \
43+ scd2html -f < $file >> docs/man /$out; \
5044 done'
5145
52- sed -i 's|<b>\(rpm[^<]*\)</b>(\(.\))|<a href="\1.\2.html">\1(\2)</a>|g' blah /rpm*.html
46+ sed -i 's|<b>\(rpm[^<]*\)</b>(\(.\))|<a href="\1.\2.html">\1(\2)</a>|g' docs/man /rpm*.html
5347
54- sudo mv blah/rpm*.html _site/man/
48+ - name : Build with Jekyll
49+ uses : actions/jekyll-build-pages@v1
50+ with :
51+ source : ./docs
52+ destination : ./_site
5553
5654 - name : Upload artifact
5755 uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments