diff options
| author | Levent Kaya <levent.kaya@codefirst.io> | 2024-11-26 02:08:32 +0300 |
|---|---|---|
| committer | Levent Kaya <levent.kaya@codefirst.io> | 2024-11-26 02:08:32 +0300 |
| commit | f4c50dd563dfe7ed2ad5e4a6e9fed22d605df5a3 (patch) | |
| tree | 2d676ff0ef6b4a61f161ba998073fe30cfbdc390 /.github | |
| parent | 31afd2a2540430139200e50fd9cf546dc93fbfa9 (diff) | |
[docs] update doxygen generation
Diffstat (limited to '.github')
| -rw-r--r-- | .github/doxygen-gh-pages.yml | 34 |
1 files changed, 8 insertions, 26 deletions
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 |
