Update compile-pdf.yml
This commit is contained in:
parent
029a24639e
commit
39b48ff118
|
@ -14,10 +14,10 @@ jobs:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Make PDF 📄
|
- name: Make PDF 📄
|
||||||
uses: baileyjm02/markdown-to-pdf@v1.2.0
|
uses: baileyjm02/markdown-to-pdf@v1.1.0
|
||||||
with:
|
with:
|
||||||
input_path: README.md
|
input_dir: .
|
||||||
output_dir: .github/assets
|
output_dir: .github/assets/
|
||||||
build_pdf: true
|
build_pdf: true
|
||||||
build_html: false
|
build_html: false
|
||||||
table_of_contents: false
|
table_of_contents: false
|
||||||
|
@ -30,7 +30,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "alicia-gh-bot@mail.as93.net"
|
git config --local user.email "alicia-gh-bot@mail.as93.net"
|
||||||
git config --local user.name "liss-bot"
|
git config --local user.name "liss-bot"
|
||||||
git add .github/assets/README.pdf
|
git add .github/assets/*.pdf
|
||||||
if ! git diff-index --quiet HEAD; then
|
if ! git diff-index --quiet HEAD; then
|
||||||
git commit -m "Generate PDF file"
|
git commit -m "Generate PDF file"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue