When you trigger the workflow manually with workflow_dispatch: the publish action will fail because there isn't a tag related to the workflow.
Suggestion: Remove workflow_dispatch or add if statements to publish steps to skip when manually triggered.