gatsby-source-sanity
gatsby-source-sanity copied to clipboard
builded page cannot be uploaded to Azure StaticApp service
trafficstars
I had a Sanity+Gatsby page that has an Azure devops pipeline for CD. It uses an ubuntu image to build the static page and upload it to a Azure Static Webapp Service.
It had worked for a few months, but after upgrade gatsby-source-sanity v7.4.2 (was v7.1.0) the upload step had stoped working and shows errors like
---> Microsoft.TeamFoundation.InvalidPathException: TF10123: The path 'web/__node-manifests/gatsby-source-sanity/6c864ace-1279-4350-b836-8a3b7b791371-2022-04-05T13:47:13.000Z.json' contains the character ':'. Remove the ':' and try again
I have reviewed al static files generated and the only ones with invalid chars (:) are related with gatsby-source-sanity manifest ones
I think that this is a critical error, because the generated webs cannot be uploaded to a windows server.
Downgrading the plugin to version 7.2.0 fixes the problem
We struggle with this one as well, bumping it!