diff options
Diffstat (limited to '.github/doxygen-gh-pages.yml')
| -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 |
