Skip to content

Commit b2413ca

Browse files
committed
ci(docs[workflow_dispatch]) Always publish on manual trigger
why: workflow_dispatch has no push diff so dorny/paths-filter sees no changed files, leaving PUBLISH unset and all build steps skipped. what: - Add github.event_name == 'workflow_dispatch' to Should publish condition so manual runs always build and deploy docs
1 parent dedcf8c commit b2413ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- uv.lock
3737
3838
- name: Should publish
39-
if: steps.changes.outputs.docs == 'true' || steps.changes.outputs.root_docs == 'true' || steps.changes.outputs.python_files == 'true'
39+
if: github.event_name == 'workflow_dispatch' || steps.changes.outputs.docs == 'true' || steps.changes.outputs.root_docs == 'true' || steps.changes.outputs.python_files == 'true'
4040
run: echo "PUBLISH=$(echo true)" >> $GITHUB_ENV
4141

4242
- name: Install uv

0 commit comments

Comments
 (0)