-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub action for updating PDF on new commits.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |