Skip to content

Commit

Permalink
The deploy step should only run for pyojects where "on_pypi" is True
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Mar 3, 2021
1 parent 7fac28e commit 695ae82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repo_helper/templates/github_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ "{{" }} secrets.GITHUB_TOKEN {{ "}}" }}
run: |
coveralls --service=github{% endif %}
coveralls --service=github{% endif %}{% if on_pypi %}
Deploy:
needs: tests
Expand Down Expand Up @@ -159,5 +159,6 @@ jobs:
ANACONDA_TOKEN: ${{ "{{" }} secrets.ANACONDA_TOKEN {{ "}}" }}{% endif %}

{% endif %}
{% endif %}

{# TODO: perhaps merge mypy into this workflow, so that releases depend on it? #}

0 comments on commit 695ae82

Please sign in to comment.