diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index aeaa9dc2b..03ba88922 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -65,13 +65,13 @@ jobs: - uses: KengoTODA/actions-setup-docker-compose@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + - name: Login in Github Container registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: - registry: ghcr.io + registry: ghcr.io/ansys-internal username: pyansys-ci-bot - password: ${{ secrets.PYANSYS_CI_BOT_PACKAGE_TOKEN }} + password: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} - name: Start services run: | @@ -147,14 +147,14 @@ jobs: python -m pip install -r requirements/requirements_build.txt python -m build venv wheel python -m twine check dist/* - - name: Upload to private PyPi - if: github.ref == 'refs/heads/main' - run: | - python -m twine upload --verbose --skip-existing dist/*.whl - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }} - TWINE_REPOSITORY_URL: https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload + #- name: Upload to private PyPi + # if: github.ref == 'refs/heads/main' + # run: | + # python -m twine upload --verbose --skip-existing dist/*.whl + # env: + # TWINE_USERNAME: __token__ + # TWINE_PASSWORD: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }} + # TWINE_REPOSITORY_URL: https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload - name: Upload artifact uses: actions/upload-artifact@v3 with: @@ -175,4 +175,4 @@ jobs: generate_release_notes: true # files: | # dist/*.whl - # build/sphinx/html \ No newline at end of file + # build/sphinx/html