File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55 using : " composite"
66 steps :
77 - run : |
8- poetry run nb-autodoc nb_cli
9- cp -r ./build/nb_cli/* ./website/docs/api/
8+ pdm run autodoc
109 yarn prettier
1110 shell: bash
Original file line number Diff line number Diff line change 2828 - name : Build and Publish Package
2929 run : |
3030 pdm build
31- pdm publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}
31+ pdm publish -u ${{ secrets.PYPI_USERNAME }} -P ${{ secrets.PYPI_PASSWORD }}
3232 gh release upload --clobber ${{ steps.version.outputs.TAG_NAME }} dist/*.tar.gz dist/*.whl
3333 env :
3434 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ extra_standard_library = ["typing_extensions"]
7979extend_skip = [" nb_cli/template/" ]
8080
8181[tool .pdm .scripts ]
82+ autodoc = { shell = " nb-autodoc nb_cli && cp -r ./build/nb_cli/* ./website/docs/api/" }
8283extract = " pybabel extract -o messages.pot --project nb-cli --version 1.0.0 nb_cli/"
8384_init = " pybabel init -D nb-cli -i messages.pot -d nb_cli/locale/ -l {args}"
8485init = { composite = [" extract" , " _init {args}" ] }
You can’t perform that action at this time.
0 commit comments