[workflows] remove manual publish

This commit is contained in:
kabeor 2023-06-18 19:01:13 +08:00
parent 2593df1ef7
commit 72a87be763
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@ name: PyPI 📦 Distribution
on:
push:
workflow_dispatch:
jobs:
build:
@ -60,7 +59,7 @@ jobs:
publish:
needs: [build]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags') || github.event_name == 'workflow_dispatch'
if: startsWith(github.ref, 'refs/tags')
permissions:
id-token: write
steps: