From 97de3a9f752f7b55a6cf6f124f3b7d4f4e4f2b7f Mon Sep 17 00:00:00 2001 From: KTrain5369 <69028025+KTrain5169@users.noreply.github.com> Date: Sat, 19 Oct 2024 22:11:47 +1000 Subject: [PATCH] add more on: keys to mkdocs workflows --- .github/workflows/mkdocs-build.yml | 2 ++ .github/workflows/mkdocs-deploy.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/mkdocs-build.yml b/.github/workflows/mkdocs-build.yml index c15eded..120d417 100644 --- a/.github/workflows/mkdocs-build.yml +++ b/.github/workflows/mkdocs-build.yml @@ -2,6 +2,8 @@ name: Build docs site on: push: + branches-ignore: + - "main" paths: - "docs/**" - "mkdocs.yml" diff --git a/.github/workflows/mkdocs-deploy.yml b/.github/workflows/mkdocs-deploy.yml index b0ce158..7c7883b 100644 --- a/.github/workflows/mkdocs-deploy.yml +++ b/.github/workflows/mkdocs-deploy.yml @@ -1,6 +1,8 @@ name: Deploy docs site on: + push: + branches: [ main ] workflow_dispatch: permissions: