Currently working on a #cli tool to aid in publishing #ssg sites onto #Codeberg pages.
It uses two #git repos over relying on #cicd with the production being saved on a git submodule. This will then ease the process of setting up custom domains.
It has the option to setup git hook pre-commit to prevent the development build to be published thus preventing the breakage of the site.
Currently it works with #hugo and plan to extend to other SSG tools.
Looking for a suitable name for the tool before publishing the code, any suggestions are welcome!
The script is called "pergs" ([P]ublish Codeb[erg] Static [S]ite) and can be found on #Codeberg:
https://codeberg.org/barefootstache/pergs
While on #debian tried to install the script and it failed. Thus refactored the install script taking inspiration from #bun install script.
#cli #pergs #bash