From 46a2c620b07a0cecdddd7591f885a0e97f2a7c6b Mon Sep 17 00:00:00 2001 From: Mikko Kotila Date: Fri, 29 Mar 2024 15:04:45 +0200 Subject: [PATCH] Update ci-deploy.yml --- .github/workflows/ci-deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-deploy.yml b/.github/workflows/ci-deploy.yml index c6c249a..78b74dd 100644 --- a/.github/workflows/ci-deploy.yml +++ b/.github/workflows/ci-deploy.yml @@ -1,4 +1,4 @@ -name: Publish Python Package +name: Publish Python Package [NEW] on: release: types: [created] @@ -20,13 +20,12 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install '.[test]' + pip install -r requirements.txt - name: Run tests run: | test_script.py deploy: runs-on: ubuntu-latest - needs: [test] environment: release permissions: id-token: write