From 2629f59dd883de17618f4e480ed98c87da291dd9 Mon Sep 17 00:00:00 2001 From: Sandyawan Date: Sat, 21 Oct 2023 22:38:21 +0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57b690c..0aa27ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,10 +36,8 @@ jobs: run: poetry install - name: Run the automated tests run: poetry run pytest --token ${{ secrets.WEBAPI_TOKEN }} -v - + - name: Semantic Release - uses: bjoluc/semantic-release-config-poetry@v2 - with: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} - RELEASE_BRANCH: main + run: | + poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} + poetry publish --build