Added github action to publish package

This commit is contained in:
Felipe Martin 2020-07-21 15:57:06 +02:00
parent 9d3014550b
commit 3a8fbca8d3
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 22 additions and 0 deletions

22
.github/workflows/poetry-dist.yaml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Distribute package
on:
push:
branches:
- stable
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install poetry
run: |
python -m pip install --upgrade pip
pip install -U poetry pip
- name: Build and publish
run: poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}