Skip to content

Commit

Permalink
ci: fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
tzoiker committed Nov 2, 2023
1 parent a9af203 commit ac196b3
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: publish

on:
pull_request:
branches: [ main ]
# push:
# tags:
# - v*
push:
tags:
- v*

jobs:
publish:
Expand Down Expand Up @@ -35,9 +33,9 @@ jobs:
- name: Build package
run: poetry build

# - name: Mint token
# id: mint
# uses: tschm/[email protected]
- name: Mint token
id: mint
uses: tschm/[email protected]

# - name: Publish to PyPI
# run: poetry publish -u __token__ -p '${{ steps.mint.outputs.api-token }}'
- name: Publish to PyPI
run: poetry publish -u __token__ -p '${{ steps.mint.outputs.api-token }}'

0 comments on commit ac196b3

Please sign in to comment.