From 2ae8a877954498dae1e6960649c3f9822d891e5a Mon Sep 17 00:00:00 2001 From: boulais01 <89533621+boulais01@users.noreply.github.com> Date: Fri, 26 Apr 2024 08:23:09 -0500 Subject: [PATCH] fix: add token option --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e518871..ba4b2d8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,6 +30,9 @@ jobs: steps: - uses: actions/download-artifact@v3 - name: Publish Package Distributions to PyPI + if: + github.repository == 'Algorithmology/bosco' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: - packages_dir: artifact/ \ No newline at end of file + user: __token__ + password: ${{ secrets.pypi_password }}