-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from spacetelescope/rendinam-patch-1
Activate automatic publication to PyPI upon release
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish to PyPI | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
build: | ||
name: Publish release to PyPI | ||
env: | ||
PYPI_USERNAME_STSCI_MAINTAINER: ${{ secrets.PYPI_USERNAME_STSCI_MAINTAINER }} | ||
PYPI_PASSWORD_STSCI_MAINTAINER: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }} | ||
PYPI_USERNAME_OVERRIDE: ${{ secrets.PYPI_USERNAME_OVERRIDE }} | ||
PYPI_PASSWORD_OVERRIDE: ${{ secrets.PYPI_PASSWORD_OVERRIDE }} | ||
PYPI_TEST: ${{ secrets.PYPI_TEST }} | ||
INDEX_URL_OVERRIDE: ${{ secrets.INDEX_URL_OVERRIDE }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Check out the commit containing this workflow file. | ||
- name: checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: custom action | ||
uses: spacetelescope/action-publish_to_pypi@master | ||
id: custom_action_0 |