Skip to content

Commit d495149

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 a2818b3 commit d495149

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
@@ -37,7 +37,7 @@ jobs:
3737
- uv.lock
3838
3939
- name: Should publish
40-
if: steps.changes.outputs.docs == 'true' || steps.changes.outputs.root_docs == 'true' || steps.changes.outputs.python_files == 'true'
40+
if: github.event_name == 'workflow_dispatch' || steps.changes.outputs.docs == 'true' || steps.changes.outputs.root_docs == 'true' || steps.changes.outputs.python_files == 'true'
4141
run: echo "PUBLISH=$(echo true)" >> $GITHUB_ENV
4242

4343
- name: Install uv

0 commit comments

Comments
 (0)