ipfs-dns-deploy
ipfs-dns-deploy copied to clipboard
feat: check cid can be fetched from the gateway
Check that the newly pinned CID can be fetched from the gateway. Fail the build if not.
fixes #14
License: MIT Signed-off-by: Oli Evans [email protected]
This is quite defensive, slight worry we might have the opposite problem of builds failing even though nothing is wrong. Perhaps try twice or something? I suspect someone getting a fail is going to retry the build anyway tho so probably ok, we should make CI more visible to all the peep that change the website too maybe?
Aye that's a fair point, I don't want all the builds to fail, just the really bad ones. I'll add some retry.