Change the URL of a renamed GitLab Pages repo
gitlab, gitlab-pages
Solution
To rename a repository:
- Navigate to your project’s Settings > General > Advanced settings.
- Under Change path section, change the `Path` to your liking.
- Hit Change path button for these changes to take effect.
Problem
I have a Gitlab Pages project site hosted as `my.gitlab.io/old`. I rename the project repo to `new`. When I push again, it still publishes to `my.gitlab.io/old`. How do I change it to `my.gitlab.io/new`?