Added github action to publish package

This commit is contained in:
Felipe M 2020-07-21 15:57:06 +02:00
parent 9d3014550b
commit 3a8fbca8d3
Signed by: fmartingr
GPG key ID: 716BC147715E716F

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 }}