Skip to content

Commit

Permalink
Merge Banch 'yestalgia-actions' of https://github.com/yestalgia/qlcpl…
Browse files Browse the repository at this point in the history
…us-docs into yestalgia-actions
  • Loading branch information
Lachlan Hicks committed Mar 30, 2024
2 parents 4973a01 + 49e5fcd commit ff86001
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/convert-to-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,23 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y powershell
- name: Check actions Dir
shell: pwsh
run: |
# Replace 'path/to/your/script.ps1' with the actual path to your PowerShell script
ls
- name: Run PowerShell script
shell: pwsh
run: |
# Replace 'path/to/your/script.ps1' with the actual path to your PowerShell script
./combineMarkdown.ps1
converttopdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: baileyjm02/markdown-to-pdf@v1
with:
input_path: ../combined_documentation.md
image_import: ../images/
- name: Build PDF
uses: baileyjm02/markdown-to-pdf@v1
with:
input_dir: ./.github/workflows/
images_dir: ./.github/workflows/images/
output_dir: pdfs
# Default is true, can set to false to only get PDF files
build_html: true
- uses: actions/upload-artifact@v3
with:
- name: Upload-Artifact
uses: actions/upload-artifact@v3
with:
name: pages
path: pdfs

0 comments on commit ff86001

Please sign in to comment.