Skip to content

Still trying to get deploy action working #12

Still trying to get deploy action working

Still trying to get deploy action working #12

Workflow file for this run

name: deploy-on-tag
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: Gr1N/setup-poetry@v8
with:
poetry-version: 1.4.1
- name: login
run: poetry config pypi-token.pypi ${{ secrets.PYPI_API_KEY }}
- name: build
run: poetry build
- name: publish
run: poetry publish