"> "> ">
<img src="<https://app.netlify.com/start/deploy?repository=https://github.com/myworkspace/sweetkittentemplate#SECRET_TOKEN=specialuniquevalue&CUSTOM_LOGO=https://placekitten.com/100/100>" alt="Deploy to Netlify"/>
https://docs.netlify.com/site-deploys/create-deploys/#deploy-to-netlify-button
I added a file called _redirects
to the root of my project. It contains one line:
/download/* <https://clearleft-audio.s3.amazonaws.com/podcast/:splat> 200
That says that any URLs beginning with /download/
should redirect to clearleft-audio.s3.amazonaws.com/podcast/
. Everything after the closing slash is captured with that wild card asterisk. That’s then passed along to the redirect URL as :splat
.
Source: https://medium.com/@adactio/netlify-redirects-and-downloads-6d60fec351ba
Reference: https://docs.netlify.com/routing/redirects/