Skip to content

Commit 3aef0cc

Browse files
committed
feat: add PyPi deploy
1 parent f88e93d commit 3aef0cc

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
7+
name: Test run
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
@@ -41,7 +41,15 @@ jobs:
4141
run: pip install tox
4242
- name: Run tox e2e tests
4343
run: tox -e integration
44-
45-
46-
47-
44+
45+
deploy:
46+
name: Build deploy
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v2
50+
- uses: casperdcl/deploy-pypi@v1
51+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
52+
with:
53+
password: ${{ secrets.PYPI_TOKEN }}
54+
build: true
55+

0 commit comments

Comments
 (0)