We essentially want to have this script from the older version of refinebio-frontend but we should use refinebio-js for fetching the results.
Solution or next step
[x] Refactor the current version of the script (Done in #125)
[x] Set up the domains for staging and prod (closes #7)
[x] Set up the environments in the project code and Vercecl
[x] Add the script to the deploy process of refinebio-web
[x] Test the script to ensure that it works as expected
Note: we should remove this from the deploy process on staging because this adds a considerable amount of time to the build step (~5m). We should first test this on staging and then in a future issue / PR remove it and only have it run on production deploys.
Context
We need to generate sitemaps on deploy.
Problem or idea
We essentially want to have this script from the older version of refinebio-frontend but we should use refinebio-js for fetching the results.
Solution or next step
staging
andprod
(closes #7)Note: we should remove this from the deploy process on staging because this adds a considerable amount of time to the build step (~5m). We should first test this on staging and then in a future issue / PR remove it and only have it run on production deploys.