Skip to content

Commit

Permalink
Update PyPi release process
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe committed Jul 12, 2020
1 parent cb5c949 commit 9db22fa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: PyPi Release
name: Release

on: [release]
on:
release:
types: [published]

jobs:
build:
PyPi:

runs-on: ubuntu-latest
steps:
Expand All @@ -21,5 +23,5 @@ jobs:
- name: Upload packages
run: python -m twine upload dist/*
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}

0 comments on commit 9db22fa

Please sign in to comment.