napari / napari-sphinx-theme

https://napari.org/napari-sphinx-theme
BSD 3-Clause "New" or "Revised" License
4 stars 11 forks source link

Update deploy.yml to use trusted publisher mechanism #135

Closed jni closed 10 months ago

jni commented 10 months ago

Updates the deploy action to use recent versions of upstream actions, and deploy using the PyPI Trusted Publisher mechanism.

I have already updated the package on PyPI to allow this script as a Trusted Publisher.

List of commits:

jni commented 10 months ago

@Czaki I would appreciate your review re these updates — I think if they are correct we should merge and push the v0.3.0 tag again.

melissawm commented 10 months ago

Sorry, I think https://github.com/napari/napari-sphinx-theme/blob/4f28aa4077e77b0550783fe8ae91cbc7547d6453/napari_sphinx_theme/__init__.py#L6 should also be updated to read "0.3.0"

jni commented 10 months ago

I do notice that the equivalent section in napari/napari also has:

oops! I noticed it and then I forgot to transfer it over. 🤦

@melissawm I'll update the version in a subsequent PR I think.

jni commented 10 months ago

grrr the workflow is not valid

jni commented 10 months ago

See #137