diff --git a/cookiecutter.json b/cookiecutter.json index 71e4d6d..a46f803 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -5,5 +5,6 @@ "copyright_holder": "European Union", "copyright_year": "{% now 'utc', '%Y' %}", "mypy_strict": false, - "integration_tests": false + "integration_tests": false, + "pypi": true } diff --git a/{{cookiecutter.project_name}}/.github/workflows/on-push.yml b/{{cookiecutter.project_name}}/.github/workflows/on-push.yml index 3a6dbe2..b51d4da 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/on-push.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/on-push.yml @@ -215,7 +215,7 @@ jobs: runs-on: ubuntu-latest needs: distribution if: | - always() && + always() && {{ cookiecutter.pypi | string | lower }} && needs.distribution.result == 'success' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')