Skip to content

Commit

Permalink
Merge pull request #12 from TaykYoku/master_release-2
Browse files Browse the repository at this point in the history
fix release drafter
  • Loading branch information
TaykYoku authored Dec 7, 2021
2 parents 778f0c9 + 6545bd9 commit ad40179
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Deployment

on:
push:
tags:
release:
types: [published]
pull_request:

jobs:
deploy-pypi:
name: PyPI deployment
runs-on: "ubuntu-latest"
if: github.event_name != 'push' || github.repository == 'Eiscat3D/EiscatDIRAC'
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -24,7 +23,7 @@ jobs:
- name: Build distributions
run: python -m build
- name: Publish package on PyPI
if: github.event_name == 'push'
if: github.event_name == 'published'
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
Expand Down

0 comments on commit ad40179

Please sign in to comment.