Skip to content

Commit

Permalink
Merge pull request #442 from skliper/fix441-doc_workflow_update
Browse files Browse the repository at this point in the history
Fix #441, Update doc workflow OSAL directory
  • Loading branch information
astrogeco committed Mar 16, 2022
2 parents a2ae1ef + ba6fe4c commit 6de88cc
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
- name: Build Docs
run: |
make doc > make_doc_stdout.txt 2> make_doc_stderr.txt
mv build/docs/detaildesign-warnings.log detaildesign-warnings.log
# Upload documentation logs as artifacts
- name: Archive Documentation Build Logs
uses: actions/upload-artifact@v2
Expand All @@ -63,13 +65,22 @@ jobs:
path: |
make_doc_stdout.txt
make_doc_stderr.txt
detaildesign-warnings.log
- name: Error Check
run: |
if [[ -s make_doc_stderr.txt ]]; then
cat make_doc_stderr.txt
exit -1
fi
- name: Warning Check
run: |
if [[ -s detaildesign-warnings.log ]]; then
cat detaildesign-warnings.log
exit -1
fi
build:
needs: checks-for-duplicates
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }}
Expand Down Expand Up @@ -134,7 +145,7 @@ jobs:
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
run: |
mkdir deploy
cd ./build/docs/osalguide/apiguide/latex
cd ./build/docs/osalguide/latex
make > build.txt
mv refman.pdf $GITHUB_WORKSPACE/deploy/OSAL_Users_Guide.pdf
# Could add pandoc and convert to github markdown
Expand All @@ -143,7 +154,8 @@ jobs:
- name: Build Usersguide
run: |
make usersguide > make_usersguide_stdout.txt 2> make_usersguide_stderr.txt
mv build/docs/users_guide/cfe-usersguide-warnings.log cfe-usersguide-warnings.log
- name: Archive Users Guide Build Logs
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -206,4 +218,4 @@ jobs:
FOLDER: deploy
CLEAN: false
SINGLE_COMMIT: true


0 comments on commit 6de88cc

Please sign in to comment.