From a39d71aae36de5b36a30f08e53a3e92836729f58 Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Wed, 6 Dec 2023 02:32:07 -0300 Subject: [PATCH] add deploy to pypi to cicd --- .github/workflows/plotly_ci.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/plotly_ci.yaml b/.github/workflows/plotly_ci.yaml index 53d503e..d897b98 100644 --- a/.github/workflows/plotly_ci.yaml +++ b/.github/workflows/plotly_ci.yaml @@ -79,3 +79,12 @@ jobs: password: ${{ secrets.PLOTLY_DEV_TOKEN }} repository_url: https://test.pypi.org/legacy/ verbose: true + + - name: Publish distribution 📦 to PyPI + if: success() + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PLOTLY_PRD_TOKEN }} + repository_url: https://upload.pypi.org/legacy/ + verbose: true + \ No newline at end of file