Deployment error for script provider

I get the error failed to deploy when I try to deploy to NPM using Yarn.

My repo is https://github.com/filips123/EthAvatar.JS and the build is https://travis-ci.com/filips123/EthAvatar.JS/jobs/174780386.

Note that I manually published a new version to NPM, after build failed, so this should not be the case.

You have an array in the script for the script provider. This does not work. https://docs.travis-ci.com/user/deployment/script