Hi, @brianjychan, if you are doing a build in some CI system you can skip building at Netlify and directly deploy the locally built site to Netlify from the CI system itself.
This is done using manual deploys and the Netlify CLI tool:
To summarize, you can install Netlify CLI as a build dependency in the CI system and when the checks pass you can the CI script/system then executes
netlify deploy --prod for the the “publish directory” (as we call it at Netlify). If this is done you will know the version deployed exactly matches you CI build because it is the version from the CI build.
Would that solution meet your requirements?