From e3baa2514c9fbe22ba5beecdbb817b39212efe08 Mon Sep 17 00:00:00 2001 From: Sam <109683132+kernelsam@users.noreply.github.com> Date: Mon, 3 Feb 2025 12:03:04 -0800 Subject: [PATCH] linting fixes --- .github/workflows/publish-documentation.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-documentation.yaml b/.github/workflows/publish-documentation.yaml index a4347e0..2ccce66 100644 --- a/.github/workflows/publish-documentation.yaml +++ b/.github/workflows/publish-documentation.yaml @@ -1,9 +1,14 @@ -name: "Publish Documentation" +name: Publish documentation on: push: - branches: - - [main] + branches: [main] + tags: + - "[0-9]+.[0-9]+.[0-9]+" + workflow_dispatch: + +permissions: + contents: write jobs: build: @@ -26,8 +31,7 @@ jobs: - name: Build documentation id: build-documentation - run: - npm run build:docs + run: npm run build:docs - name: Upload static files as artifact id: upload-documentation