noaa-fisheries-integrated-toolbox / toolbox_web_templating

Templates and JSON model data for the toolbox web pages
1 stars 0 forks source link

set up separate dev/prod repos for gh pages? #11

Closed k-doering-NOAA closed 1 year ago

k-doering-NOAA commented 1 year ago

E.g., see https://medium.com/geekculture/when-youre-working-on-a-static-site-and-github-pages-feels-like-the-perfect-hosting-solution-a41c37f4e326

This may be tricky as the toolbox is set up now (i.e., separate orgs), but this may be worth pursuing in the long run for maintainability.

k-doering-NOAA commented 1 year ago

working on setting this up in the dev branch. This will also streamline the html templates and json files to be all in one repo and be deployed to one prod and one dev repo, which will steamline the maintenance process for the toolbox.

k-doering-NOAA commented 1 year ago

dev files now deployed to the gh-pages branch in fit-dev repo: https://github.com/noaa-fisheries-integrated-toolbox/fit-dev/tree/gh-pages

Need to still set up the prod workflow (should be the same as the dev workflow, just run on main, i think). Also, lots of edits to the dev version of the website are still needed, to make sure everything links up appropriately (e.g., using relative links and no refs to other orgs)

k-doering-NOAA commented 1 year ago

relative links now working!

Next step: Checking for broken or inappropriate links and updating the json metadata as needed.

k-doering-NOAA commented 1 year ago

Metadata has been updated and jobs have been set up for the dev/prod repos, so closing as done.