Skip to content

Commit

Permalink
Fix PDF Action
Browse files Browse the repository at this point in the history
  • Loading branch information
nopeitsnothing committed Jul 13, 2024
1 parent 3a12a09 commit a631146
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 86 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/convert-to-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# .github/workflows/convert-to-pdf.yml

name: Docs to PDF
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- main
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory

jobs:
converttopdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: baileyjm02/markdown-to-pdf@v1
with:
input_dir: export
output_dir: export
images_dir: ./images
# for example <img src="./images/file-name.png">
image_import: ./images
# Default is true, can set to false to only get PDF files
build_html: false
- uses: actions/upload-artifact@v3
with:
name: docs
path: pdfs
24 changes: 0 additions & 24 deletions .github/workflows/create-pdf.yml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/workflows/mega-linter.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
v1.2.0

- Rotate GPG/PGP keys (See [Open Collective key rotation](https://opencollective.com/anonymousplanetorg/updates/key-rotation-update))
- Switch to Megalinter in [#344](https://github.com/Anon-Planet/thgtoa/pull/344)
- Switch to Megalinter to diagnose repeatable PDF failures

v1.1.9

Expand Down

0 comments on commit a631146

Please sign in to comment.