I'm deploying a v4 site to Netlify and am trying to include a Netlify _redirects file, which of course is ignored by Middleman. I tried manually copying the file during build, but it gets removed before build finishes.
Try to ignore them, additionally to manually copy them during build.https://middlemanapp.com/advanced/dynamic-pages/#ignoring-files
You can use a proxy to rename a netlify_redirects file (or whatever name you want) to _redirects on build: https://github.com/middleman/middlemanapp.com/blob/master/config.rb#L27
Thanks for the replies.
@tysongach That worked like a charm.