From a1400f3bd36afd6040001c91fa3bb048c4d859c9 Mon Sep 17 00:00:00 2001 From: GeoJulien Date: Mon, 2 Dec 2024 13:29:25 +0100 Subject: [PATCH] update(ci): enable manual trigger for build/publish doc --- .github/workflows/documentation.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index fbcb71f..0044b8a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -5,21 +5,26 @@ name: "📚 Documentation" # events but only for the master branch on: push: - branches: [main] + branches: + - main paths: - "docs/**" - "*.md" - ".github/workflows/documentation.yml" + - ./mkdocs_rss_plugin tags: - "*" pull_request: - branches: [main] + branches: + - main paths: - .github/workflows/documentation.yml - docs/ - requirements/documentation.txt + workflow_dispatch: + # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read