Skip to content

Commit

Permalink
Initial release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Smurf2-pluto committed Jan 31, 2024
1 parent 35e6ee4 commit 7aacc7c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Release
on:
push:
branches:
- master
tags:
- '*'

Expand All @@ -24,3 +22,11 @@ jobs:
with:
name: dist
path: dist/

- name: Upload packages to Jazzband
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: jazzband
password: ${{ secrets.JAZZBAND_RELEASE_KEY }}
repository_url: https://jazzband.co/projects/django-polymorphic/upload

0 comments on commit 7aacc7c

Please sign in to comment.