From dcf54de5da4e055cc7148d4f28fbc9bf9dcd414e Mon Sep 17 00:00:00 2001 From: Alex Chapellon Date: Fri, 4 Oct 2024 18:04:30 +0200 Subject: [PATCH] OPSEXP-2881: trigger docs publication on content change on master and releases (#1218) --- .github/workflows/docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b521a14a7..8cde91726 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,6 +6,9 @@ permissions: id-token: write on: + release: + types: + - released push: branches: - master @@ -24,5 +27,5 @@ jobs: uses: Alfresco/jekyll-build-tools/.github/workflows/jekyll-publish.yml@main with: working-directory: . - publish: ${{ github.event_name == 'push' && github.ref_name == 'master'}} + publish: ${{ github.event_name != 'pull_request' }} validate-html: true