Skip to content

Commit

Permalink
apply fix to [docs] action
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourpeas committed Dec 22, 2024
1 parent d7732cd commit 1db9834
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main_rcpch-nhs-organisations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build-and-deploy:
if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.title, '[docs]')
runs-on: ubuntu-latest

steps:
Expand All @@ -37,7 +37,7 @@ jobs:
package: "."

deploy-mkdocs:
if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.title, '[docs]')
runs-on: ubuntu-latest
needs: build-and-deploy

Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

- name: Install MkDocs and dependencies
run: |
pip install mkdocs mkdocs-material
pip install mkdocs mkdocs-material mkdocs-git-committers-plugin-2 mkdocs-git-revision-date-localized-plugin mkdocs-macros-plugin mkdocs-with-pdf
- name: Build MkDocs site
run: mkdocs build --config-file documentation/mkdocs.yml
Expand Down

0 comments on commit 1db9834

Please sign in to comment.