Skip to content

Commit 1d4a449

Browse files
committed
release
1 parent c865457 commit 1d4a449

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
env:
1414
PYTHON_ENV: ci
15-
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
15+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
1616
FMP_API_KEY: ${{ secrets.FMP_API_KEY }}
1717
strategy:
1818
matrix:

Makefile

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,61 @@
1-
.PHONY: lint notebook book tests
21

2+
.PHONY: help
33
help:
44
@echo ================================================================================
55
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
66
@echo ================================================================================
77

8+
9+
.PHONY: lint
810
lint: ## Lint and fix
911
@poetry run ./dev/lint fix
1012

1113

14+
.PHONY: lint-check
1215
lint-check: ## Lint check only
1316
@poetry run ./dev/lint
1417

18+
19+
.PHONY: install-dev
1520
install-dev: ## Install development dependencies
1621
@./dev/install
1722

23+
24+
.PHONY: notebook
1825
notebook: ## Run Jupyter notebook server
1926
@poetry run ./dev/start-jupyter 9095
2027

2128

29+
.PHONY: book
2230
book: ## Build static jupyter {book}
2331
poetry run jupyter-book build notebooks --all
2432

33+
34+
.PHONY: sphinx-config
2535
sphinx-config: ## Build sphinx config
2636
poetry run jupyter-book config sphinx notebooks
2737

38+
39+
.PHONY: sphinx
2840
sphinx:
2941
poetry run sphinx-build notebooks path/to/book/_build/html -b html
3042

31-
publish: ## release to pypi
32-
@poetry publish --build -u lsbardel -p $(PYPI_PASSWORD)
3343

44+
.PHONY: publish
45+
publish: ## Release to pypi
46+
@poetry publish --build -u __token__ -p $(PYPI_TOKEN)
47+
48+
49+
.PHONY: publish-book
3450
publish-book: ## publish the book to github pages
3551
poetry run ghp-import -n -p -f notebooks/_build/html
3652

37-
tests: ## unit tests
53+
54+
.PHONY: tests
55+
tests: ## Unit tests
3856
@./dev/test
3957

4058

59+
.PHONY: outdated
4160
outdated: ## Show outdated packages
4261
poetry show -o -a

0 commit comments

Comments
 (0)