So I have a project the requires the user to have some API credentials/info in an environmental variable for the build to work. This means when deployed via the ‘Deploy to Netlify’ button (via https://app.netlify.com/start/deploy?repository=***), the build will fail the first time. That’s not a problem, as I was expecting I’d be able to add the necessary environment in Netlify settings and then manually trigger the build, but this doesn’t seem possible? Once the build fails the first time, the created repository is empty and you can’t trigger the build/deploy again? Is there any way around this?
Edit: Just saw that Netlify lets you add environmental variables when you’re creating a new site from git, but this feature is missing when going the ‘Deploy to Netlify’ button route. Having that feature would’ve been a nice solution and it would complete the build the first time