Builds running for a very long time (taking hours, when they previously took 2 minutes)

Error handling/reporting with resources.GetRemote:

https://gohugo.io/functions/resources/getremote/#error-handling

As always, you are more likely to receive a prompt and accurate response if you post a link to your project’s Git repository.

See Requesting Help.