-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nasa#272, Fix Osal guide pdf generation
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 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 |
---|---|---|
|
@@ -214,22 +214,22 @@ jobs: | |
fi | ||
- name: PDF generation installs | ||
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
if: ${{ github.event_name == 'push' || contains(github.ref, 'main')}} | ||
run: | | ||
sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra | ||
- name: PDF generation | ||
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
if: ${{ github.event_name == 'push' || contains(github.ref, 'main')}} | ||
run: | | ||
mkdir deploy | ||
cd ./build/doc/osalguide/latex | ||
cd ./build/doc/osalguide/apiguide/latex | ||
make > build.txt | ||
mv refman.pdf $GITHUB_WORKSPACE/deploy/OSAL_Users_Guide.pdf | ||
# Could add pandoc and convert to github markdown | ||
# pandoc CFE_Users_Guide.pdf -t gfm | ||
- name: Deploy | ||
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
if: ${{ github.event_name == 'push' || contains(github.ref, 'main')}} | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|