···88let baseSite: string = 'https://foxxmd.github.io';
991010const baseUrlEnvs = [
1111+ // To build with base URL via normal docker build with build-args/env
1212+ // or if specified, to override the subsequent set ENVs
1313+ process.env.BASE_SITE,
1114 // To build with base URL set via netlify CI
1215 // https://docs.netlify.com/build/configure-builds/environment-variables/#deploy-urls-and-metadata
1316 process.env.DEPLOY_PRIME_URL,
1417 // To build with base URL set via cloudflare pages CI
1518 // https://developers.cloudflare.com/pages/configuration/build-configuration/#environment-variables
1616- process.env.CF_PAGES_URL,
1717- // To build with base URL via normal docker build with build-args/env
1818- process.env.BASE_SITE
1919+ process.env.CF_PAGES_URL
1920];
20212122for(const baseUrlVal of baseUrlEnvs) {