Added check for secrets file in build task