Skip to content

Commit 7aacc7c

Browse files
committed
Initial release workflow
1 parent 35e6ee4 commit 7aacc7c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Release
22
on:
33
push:
4-
branches:
5-
- master
64
tags:
75
- '*'
86

@@ -24,3 +22,11 @@ jobs:
2422
with:
2523
name: dist
2624
path: dist/
25+
26+
- name: Upload packages to Jazzband
27+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
28+
uses: pypa/gh-action-pypi-publish@master
29+
with:
30+
user: jazzband
31+
password: ${{ secrets.JAZZBAND_RELEASE_KEY }}
32+
repository_url: https://jazzband.co/projects/django-polymorphic/upload

0 commit comments

Comments
 (0)