Closed hagenw closed 6 months ago
When pushing a tag only publish.yaml
is activated, which means we need to build the documentation there as well.
Of course, it might be possible to re-configure doc.yaml
so it also runs when pushing a tag, but I also like to be able to use different code when building the docs for tests and when building the docs for publication.
And another reason is, we do it in all our other projects as well ;)
Closes #54
This adds the
publish.yml
github Action, that will build and publish the Python package to PyPI for every tag, and also build the documentation and publish as Github pages.This requires that the
release
environment in this repo exists (which I created), and that the project is registered with PyPI (which I also did).