From 85a2fac952766d4b4dcb95ea0d099c41f8dc7e37 Mon Sep 17 00:00:00 2001 From: Xyphuz Date: Sun, 8 May 2022 15:24:46 +0800 Subject: [PATCH] chore: add cd.yml --- .github/workflows/cd.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/cd.yml diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..1f6a2a0 --- /dev/null +++ b/.github/workflows/cd.yml @@ -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 }} \ No newline at end of file