The GTDB Release Toolkit provides functionality for updating the GTDB to the next release and generating data files for the GTDB website.
Information on generating files for the GTDB website is on the GTDB wiki: https://github.com/Ecogenomics/GTDBNCBI/wiki/Generating-data-files-for-GTDB-website