Skip to content

Commit

Permalink
Update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
adnankarol authored and adnankarol committed Aug 1, 2024
1 parent ab5d947 commit d73adea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3 # Latest stable version
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4 # Latest stable version
uses: actions/setup-python@v4
with:
python-version: '3.10' # Specify the Python version you need
python-version: '3.10'

- name: Install dependencies
run: |
Expand All @@ -29,6 +29,7 @@ jobs:
- name: Publish to PyPI
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} # Ensure your PyPI token is set in GitHub Secrets
TWINE_USERNAME: __token__ # This is the username for PyPI token-based authentication
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} # Use the secret PyPI token
run: |
twine upload dist/*

0 comments on commit d73adea

Please sign in to comment.