Skip to content

Commit

Permalink
Tweak publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Jun 13, 2023
1 parent d685906 commit 762c950
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@master
- name: Set up Python 3.11
Expand All @@ -24,5 +26,3 @@ jobs:
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ venv.bak/
# mkdocs documentation
/site

# OS files
.DS_Store
thumbs.db

# mypy
.mypy_cache/
.dmypy.json
Expand Down

0 comments on commit 762c950

Please sign in to comment.