Skip to content

Commit

Permalink
added release job to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Apr 10, 2020
1 parent ef22c72 commit 9fdcb8f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,14 @@ jobs:

- name: Run nbval
run: make nbval

release:
name: Releasing to pypi
runs-on: ubuntu-latest
steps:
- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}

0 comments on commit 9fdcb8f

Please sign in to comment.