j-andrews7 / kenpompy

A simple yet comprehensive web scraper for kenpom.com.
https://kenpompy.readthedocs.io/en/latest/?badge=latest
GNU General Public License v3.0
70 stars 21 forks source link

CI/CD: Automate PyPi & ReadTheDocs releases #59

Open esqew opened 10 months ago

esqew commented 10 months ago

Breaking this out from the issue in which it was initially brought up - it may behoove us to build additional CI/CD steps and change the branching strategy ever so slightly to prepare releases in a devel or version-specific branch, then do releases automatically off of merges of these branches to master.

My plan at the moment is to build the foundation of the additional workflow in a new branch, and then @j-andrews7 you and I can discuss best path forward (adding PyPi & ReadTheDocs secrets to CI/CD config) from there.

(Part of my homework here is also to get myself better acquainted with ReadTheDocs since I haven't used it before.)

j-andrews7 commented 9 months ago

Latest release fixes most of the RTD issues that were preventing proper doc builds previously. They should update automatically now.

The build system is still just using Setuptools, but given all the stuff that's changed in the last few years, it may be worth switching to poetry or such at some point.