Skip to content

Merge pull request #62 from pytroll/pre-commit-ci-update-config #32

Merge pull request #62 from pytroll/pre-commit-ci-update-config

Merge pull request #62 from pytroll/pre-commit-ci-update-config #32

Workflow file for this run

name: Deploy sdist and wheel
on:
push:
pull_request:
release:
types:
- published
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v5
- name: Create dist packages
shell: bash -l {0}
run: |
python -m pip install -q build
python -m build
- name: Publish packages to PyPI
if: github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
user: __token__
password: ${{ secrets.pypi_password }}