I tried to search, but probably used the wrong term.
My deployment is working and i can push the site live.
But sometimes, if i do bigger changes, i also like to deploy to a subdomain (which is .htaccess protected) so that me and other can check the changes before i push them to live.
Right no i always adapt for that the baseURL in my config.toml.
Is there an easy way (which i problably did not found till now) to run the hugo command with another config.toml - or to use in a special command an “backupbaseurl” command?
Thank you, this will make it even easier, as i just need to adapt minimal parts. Perfect.
And another tipp: I had so far the .htaccess in my “static”-folder. Due do redirects and now using a subdomain in test-environment I removed it from static folder. By now the .htaccess is also not changing so often anymore.