Skip to content

Commit

Permalink
check if token exists
Browse files Browse the repository at this point in the history
  • Loading branch information
erikayasuda committed Oct 18, 2024
1 parent a737e92 commit fbee839
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ jobs:
with:
name: artifact-wheel
path: dist
- name: Check for Secret
run: |
if [ -z "${{ secrets.PYPI_TOKEN }}" ]; then
echo "PYPI_TOKEN is not set"
else
echo "PYPI_TOKEN exists"
fi
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand Down

0 comments on commit fbee839

Please sign in to comment.