From a2bb1ae6e3d45e0f991e40558b82eebc2b890c7a Mon Sep 17 00:00:00 2001 From: Sam Stepanyan Date: Sat, 24 Aug 2024 23:12:03 +0100 Subject: [PATCH] Update ci_cd.yml remove PYPI step will be moved to a separate workflow Signed-off-by: Sam Stepanyan --- .github/workflows/ci_cd.yml | 49 ------------------------------------- 1 file changed, 49 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 21b0eb1e..d1bc9365 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -50,55 +50,6 @@ jobs: name: dist path: dist - publish-to-test-pypi: - name: Publish to Test PyPI - - if: | - ${{ - github.repository == 'owasp/nettacker' && - github.event_name == 'push' && - github.ref_name == 'implement-package-publishing-poc' }} - # environment: test - needs: - - build-package - permissions: - contents: read - id-token: write - runs-on: ubuntu-latest - steps: - - name: Get package artifacts - uses: actions/download-artifact@v3 - with: - name: dist - path: dist - - - name: Publish package distributions to Test PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/ - - publish-to-pypi: - name: Publish to PyPI - if: | - ${{ github.repository == 'owasp/nettacker' && - github.event_name == 'push' && - github.ref_name == 'implement-package-publishing-poc' }} - # environment: release - needs: - - build-package - permissions: - contents: read - id-token: write - runs-on: ubuntu-latest - steps: - - name: Get package artifacts - uses: actions/download-artifact@v3 - with: - name: dist - path: dist - - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 test-docker-image: name: Test Docker image