mirror of
https://github.com/Lissy93/awesome-privacy.git
synced 2026-03-11 08:55:33 +00:00
Update compile-pdf.yml
This commit is contained in:
parent
029a24639e
commit
39b48ff118
1 changed files with 4 additions and 4 deletions
8
.github/workflows/compile-pdf.yml
vendored
8
.github/workflows/compile-pdf.yml
vendored
|
|
@ -14,10 +14,10 @@ jobs:
|
|||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v2
|
||||
- name: Make PDF 📄
|
||||
uses: baileyjm02/markdown-to-pdf@v1.2.0
|
||||
uses: baileyjm02/markdown-to-pdf@v1.1.0
|
||||
with:
|
||||
input_path: README.md
|
||||
output_dir: .github/assets
|
||||
input_dir: .
|
||||
output_dir: .github/assets/
|
||||
build_pdf: true
|
||||
build_html: false
|
||||
table_of_contents: false
|
||||
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
run: |
|
||||
git config --local user.email "alicia-gh-bot@mail.as93.net"
|
||||
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
|
||||
git commit -m "Generate PDF file"
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue