Skip to content

Commit

Permalink
Fix nasa#170, Add document deploy to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Jan 28, 2021
1 parent 6aeca23 commit 4907faa
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ name: Documentation and Guides
on:
push:
branches:
- main
- fix170-doc_push

pull_request:

env:
SIMULATION: native
DEPLOYDIR: $HOME/deploy

jobs:

Expand Down Expand Up @@ -112,6 +113,22 @@ jobs:
exit -1
fi
- name: PDF generation and push to gh-pages
if: ${{ github.event_name == 'push' }}
uses: JamesIves/[email protected]
with:
persist-credentials: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: env.DEPLOYDIR
CLEAN: false
SINGLE_COMMIT: true
run: |
sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
cd $HOME/build/doc/users_guide/latex
make > build.txt
mv refman.pdf env.DEPLOYDIR/CFE_Users_Guide.pdf
build-osalguide:
# Name the Job
name: Osal Guide
Expand Down

0 comments on commit 4907faa

Please sign in to comment.