From f4c50dd563dfe7ed2ad5e4a6e9fed22d605df5a3 Mon Sep 17 00:00:00 2001 From: Levent Kaya Date: Tue, 26 Nov 2024 02:08:32 +0300 Subject: [docs] update doxygen generation --- .github/doxygen-gh-pages.yml | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) (limited to '.github/doxygen-gh-pages.yml') diff --git a/.github/doxygen-gh-pages.yml b/.github/doxygen-gh-pages.yml index b43486d..3253ad2 100644 --- a/.github/doxygen-gh-pages.yml +++ b/.github/doxygen-gh-pages.yml @@ -1,43 +1,25 @@ -name: Deploy Doxygen Documentation +name: Generate and Deploy Doxygen Documentation on: push: branches: - - master - pull_request: - branches: - - master + - main jobs: - deploy: + build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Install Doxygen - run: | - sudo apt-get update - sudo apt-get install -y doxygen graphviz + - name: Set up Doxygen + run: sudo apt-get install -y doxygen graphviz - - name: Generate Doxygen Documentation - run: | - cd docs - doxygen Doxyfile - cd .. + - name: Generate Doxygen documentation + run: doxygen Doxyfile - name: Deploy to GitHub Pages - if: github.ref == 'refs/heads/master' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/html - enable_jekyll: false - full_commit_message: Deploy Doxygen documentation - - - name: List generated files - run: | - echo "Contents of docs directory:" - ls -la docs/ - echo "Contents of docs/html directory (if exists):" - ls -la docs/html/ || echo "html directory not found" \ No newline at end of file + publish_dir: docs/html -- cgit v1.2.3