Skip to content

Commit

Permalink
Add GitHub action for updating PDF on new commits.
Browse files Browse the repository at this point in the history
  • Loading branch information
bigprof authored Apr 24, 2024
1 parent 2557f59 commit 7d8bfa0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/generate-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Generate PDF and Upload as Artifact

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build-and-upload-pdf:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Pandoc and XeLaTeX
run: |
sudo apt-get update
sudo apt-get install -y pandoc texlive-xetex
- name: Generate PDF
run: pandoc --defaults pdf.yml

- name: Upload PDF as Artifact
uses: actions/upload-artifact@v3
with:
name: appgini-documentation.pdf
path: ./appgini-documentation.pdf

0 comments on commit 7d8bfa0

Please sign in to comment.