Skip to content

Commit 6d377c7

Browse files
Smurf2-plutobckohan
authored andcommitted
Initial release workflow
1 parent 1deee93 commit 6d377c7

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

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

0 commit comments

Comments
 (0)