Skip to content

Commit

Permalink
use OpenAstronomy PyPI upload workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Sep 21, 2023
1 parent 9e7d567 commit d47adba
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish to PyPI

on:
release:
types: [ released ]
pull_request:
workflow_dispatch:

jobs:
build:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1
with:
upload_to_pypi: ${{ github.event_name == 'released'}}
targets: |
- linux
- macos
sdist: true
secrets:
pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}

16 changes: 0 additions & 16 deletions .github/workflows/publish-to-pypi.yml

This file was deleted.

0 comments on commit d47adba

Please sign in to comment.