Skip to content

Commit

Permalink
Create generate-pdf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FiveTechSoft authored Jun 27, 2024
1 parent 0df3bbb commit e930dd9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/generate-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Generate PDF

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Pandoc
run: sudo apt-get install -y pandoc

- name: Convert Markdown to PDF
run: pandoc -s README.md -o output.pdf

- name: Upload PDF as artifact
uses: actions/upload-artifact@v2
with:
name: output-pdf
path: output.pdf

0 comments on commit e930dd9

Please sign in to comment.