Problem with Documenter Clean Up

I am not able to use the Doc Preview Cleanup, as explained here.

Using the very same workflow they have described, I obtain the following error message

  git config "Documenter.jl"
  git config ""
  git rm -rf "previews/PR$PRNUM"
  git commit -m "delete preview"
  git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree})
  shell: /usr/bin/bash -e {0}
    PRNUM: 105
fatal: pathspec 'previews/PR105' did not match any files
Error: Process completed with exit code 128.

Thank you for your help,
Marco Bonici