Skip to content

Commit

Permalink
GitHub Action - PyPI Upload (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-hernandez authored Nov 25, 2019
1 parent 18b87ca commit 354efbc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/main.workflow

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
release:
types: [published]

name: Release
jobs:
pypi:
name: PyPI Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: PyPI Upload
uses: FeatureLabs/gh-action-pypi-upload@master
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TEST_PYPI_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}

0 comments on commit 354efbc

Please sign in to comment.