Skip to content

Commit

Permalink
Online publish when tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Oct 4, 2021
1 parent 91e84bf commit b9918b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/PyPI-publishing.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: PyPI 📦 Distribution

on: [push]
on:
push:
tags:
- "*"
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -97,7 +101,6 @@ jobs:
publish:
needs: [build]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit b9918b7

Please sign in to comment.