Skip to content

Commit

Permalink
Fix pipy deployment action
Browse files Browse the repository at this point in the history
  • Loading branch information
VMRuiz committed Feb 1, 2024
1 parent ff8361d commit 8ce7c9d
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,16 @@ jobs:
with:
python-version: "3.10"

- name: Install package and dependencies
run: >-
python -m pip install -e .
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Publish distribution 📦 to Private PyPI
- name: Build and publish
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-west-2
AWS_DEFAULT_OUTPUT: json
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

run: |
pip install awscli
pip install wheel
python setup.py sdist bdist_wheel
aws s3 sync dist/ ***REMOVED***
twine upload dist/*

0 comments on commit 8ce7c9d

Please sign in to comment.