Gh-pages mirroring

I would like to know if it could be possible to change the repository name to a pull mirror.
The case is I want to mirror a gh-pages website repository, so I need to change the projectname.github.io to projectname.gitlab.io.