Skip to content

Commit

Permalink
Try fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander.A.Utkin committed Sep 6, 2024
1 parent 8693766 commit 5ce1c2f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test-deploy-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
on:
pull_request:
types: [opened, reopened]
push:
branches-ignore:
- master
jobs:
deploy:
runs-on: macos-latest
Expand All @@ -13,13 +16,14 @@ jobs:
- uses: actions/checkout@v4
- name: Build PyReindexer
run: |
brew install python-setuptools
python3 setup.py sdist bdist_wheel
python3 -m pip install --upgrade pip
python3 setup.py setuptools sdist bdist_wheel
shell: bash
- name: Deploy PyReindexer To Test-Pypi
env:
TESTPYPI_TOKEN: ${{ secrets.TESTPYPI_TOKEN }}
run: |
python3 -m pip install --upgrade pip
python3 -m pip install twine
python3 -m twine upload --verbose --repository testpypi dist/* -u __token__ -p pypi-$TESTPYPI_TOKEN
# wait for deploy finishing on test pypi server
Expand Down

0 comments on commit 5ce1c2f

Please sign in to comment.