chore: add cd.yml

This commit is contained in:
Xyphuz 2022-05-08 15:24:46 +08:00
parent 1297b0e671
commit 85a2fac952

14
.github/workflows/cd.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: CD
on:
release:
types: [ created ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and Publish to PyPi
uses: JRubics/poetry-publish@v1.10
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}