From 7e203db9cbd159c25626ed94fa0c9f4723854de2 Mon Sep 17 00:00:00 2001 From: Ernesto Casablanca Date: Thu, 20 Jun 2024 12:33:46 +0200 Subject: [PATCH] ci: update github workflow with new rules_doxygen --- .github/workflows/docs.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6191ca56..4afa8e61 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,21 +28,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Install Doxygen + - name: Install graphviz run: sudo apt-get install graphviz -y - - uses: ssciwr/doxygen-install@v1.3.0 - with: - version: "1.10.0" - - - name: Remove installation directory - run: rm -rf doxygen-* - - name: Generate Doxygen Documentation - run: ./script/doxygen.sh + run: bazel build //docs - name: Create .nojekyll (ensures pages with underscores work on gh pages) - run: touch docs/out/html/.nojekyll + run: sudo touch bazel-bin/docs/html/.nojekyll - name: Setup Pages uses: actions/configure-pages@v4 @@ -50,7 +43,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: "docs/out/html" + path: bazel-bin/docs/html - name: Deploy to GitHub Pages id: deployment