From 5db3d413e2a940f36c4926be392fa6ec8ee0b2f7 Mon Sep 17 00:00:00 2001 From: Robin Bourianes Date: Fri, 14 Jun 2024 15:44:26 +0200 Subject: [PATCH] ci: doc workflow --- .github/workflows/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 83f3ff5b..5bdff6f2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,11 +16,15 @@ jobs: run: bash scripts/build_container.sh "${{ github.event.head_commit.message }}" build_docs: + name: Build docs if: ${{ contains(github.event.head_commit.message, 'doc') }} runs-on: ubuntu-22.04 steps: - name: Checkout repo uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 16 - name: Build docs run: bash scripts/build_docs.sh - name: Upload artifact