Skip to content

Commit

Permalink
Merge pull request #39 from MunchLab/fix-python-publish
Browse files Browse the repository at this point in the history
Remove testpypi workflow and revert from release based to on main push
  • Loading branch information
lizliz authored Jan 14, 2025
2 parents 0edc277 + b9d33bb commit 4d65b0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 80 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/create-release-on-version-bump.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/python-publish-test.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
name: Upload Python Package

on:
release:
types: [created]
push:
branches: [ "main" ]

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
Expand All @@ -35,5 +36,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI }}

password: ${{ secrets.PYPI}}

0 comments on commit 4d65b0a

Please sign in to comment.