diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 1a782911..8205e06d 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -55,12 +55,12 @@ jobs: with: checkout: ${{ github.event_name == 'workflow_dispatch' && inputs.branch != '(same as workflow)' }} branch: ${{ inputs.branch }} - publish-latest-and-root: | + publish-latest-and-root: |- ${{ github.event_name != 'workflow_dispatch' || inputs.update-latest }} - publish-release: | + publish-release: |- ${{ github.event_name == 'workflow_dispatch' && inputs.release || startsWith(github.event.head_commit.message, '[Release]')