fpgmaas / cookiecutter-poetry

A modern cookiecutter template for Python projects that use Poetry for dependency management
https://fpgmaas.github.io/cookiecutter-poetry/
MIT License
380 stars 62 forks source link

Broken on-release-main.yml when publish_to = none and cookiecutter.mkdocs = n #78

Closed aaccioly-mpn closed 1 year ago

aaccioly-mpn commented 1 year ago

As per title, when one initialises a project with

include_github_actions: y
cookiecutter.mkdocs: n
publish_to: none

Cookiecutter generates a on-release-main file with no steps, which fails the build.

Suggested solutions:

Either remove the file all together when publish_to: none or execute all steps until the actual publishing.

fpgmaas commented 1 year ago

Thanks for raising the issue! I will look into this.