mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-21 01:46:46 +08:00
Running backfill
This commit is contained in:
parent
ca9d37eb05
commit
2e036fd91a
1 changed files with 10 additions and 1 deletions
11
.github/workflows/gen_pdf.yaml
vendored
11
.github/workflows/gen_pdf.yaml
vendored
|
|
@ -12,7 +12,16 @@ jobs:
|
|||
sudo apt install pandoc texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
|
||||
- name: Create PDF
|
||||
run: |
|
||||
pandoc README.md -o README.pdf
|
||||
file_list=`find . -print | grep -i ".md"`
|
||||
for element in $file_list
|
||||
do
|
||||
dir=`dirname ${element}`
|
||||
cd $dir
|
||||
echo `pwd`
|
||||
fname=`basename ${element}`
|
||||
pandoc $fname -o ${fname::-2}pdf
|
||||
cd -
|
||||
done
|
||||
- name: Commit changes
|
||||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue