Skip to content

Commit cce468a

Browse files
committed
Switch to using action
1 parent 9bf4b9a commit cce468a

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,9 @@ jobs:
3030
poetry install
3131
- name: View poetry version
3232
run: poetry --version
33-
- name: Semantic Release
34-
env:
35-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
36-
PYPI_TOKEN: ${{secrets.PYPI_TOKEN}}
37-
run: |
38-
python3 -m pip install python-semantic-release
39-
git config user.name github-actions
40-
git config user.email [email protected]
41-
semantic-release publish --${{ github.event.inputs.releaseType }}
33+
- name: Python Semantic Release
34+
uses: relekang/python-semantic-release@master
35+
with:
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
pypi_token: ${{ secrets.PYPI_TOKEN }}
4238

0 commit comments

Comments
 (0)