Skip to content

Commit

Permalink
Update GitHub Action with nfc-reader-docs/
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanheemstra committed Dec 18, 2024
1 parent a3f1c32 commit 7bde919
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,33 +34,33 @@ jobs:
- name: Configure Doxygen
run: |
cd docs
cd nfc-reader-docs/docs
sed -i 's/GENERATE_LATEX = NO/GENERATE_LATEX = YES/' Doxyfile
sed -i 's/LATEX_OUTPUT = latex/LATEX_OUTPUT = pdf/' Doxyfile
sed -i 's/GENERATE_PDF = NO/GENERATE_PDF = YES/' Doxyfile
- name: Generate Documentation
run: |
cd docs
cd nfc-reader-docs/docs
doxygen Doxyfile
- name: Compile LaTeX to PDF
run: |
cd docs/pdf/latex
cd nfc-reader-docs/docs/pdf/latex
make
- name: Create Release
uses: softprops/action-gh-release@v1
if: github.event_name == 'workflow_dispatch'
with:
files: |
docs/pdf/latex/refman.pdf
nfc-reader-docs/docs/pdf/latex/refman.pdf
name: Hardware Documentation Release
tag_name: docs-v${{ github.sha }}

- name: Upload PDF Artifact
uses: actions/upload-artifact@v4
with:
name: nfc-reader-documentation
path: docs/pdf/latex/refman.pdf
path: nfc-reader-docs/docs/pdf/latex/refman.pdf
retention-days: 30

0 comments on commit 7bde919

Please sign in to comment.