Skip to content

Commit a3b436b

Browse files
committed
update: deploy
1 parent 1a4eb3a commit a3b436b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
4040
run: |
4141
poetry config pypi-token.pypi $PYPI_TOKEN
42-
make deploy
42+
poetry publish --build

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: init format test check deploy requirements
1+
.PHONY: init format test check requirements
22

33
init:
44
python -m pip install -U poetry
@@ -16,9 +16,6 @@ check:
1616
black -S -l 119 --check pytorch_optimizer tests setup.py lint.py
1717
python lint.py
1818

19-
deploy:
20-
python -m poetry publish --build
21-
2219
requirements:
2320
python -m poetry export -f requirements.txt --output requirements.txt --without-hashes
2421
python -m poetry export --dev -f requirements.txt --output requirements-dev.txt --without-hashes

0 commit comments

Comments
 (0)