Skip to content

Commit

Permalink
OPSEXP-2881: trigger docs publication on content change on master and…
Browse files Browse the repository at this point in the history
… releases (#1218)
  • Loading branch information
alxgomz authored Oct 4, 2024
1 parent abf4721 commit dcf54de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ permissions:
id-token: write

on:
release:
types:
- released
push:
branches:
- master
Expand All @@ -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

0 comments on commit dcf54de

Please sign in to comment.