I have created my website using hugo academic theme. It is working properly locally when serve site. However, after saving a repository and publish the website it does not seems working properly.
May be you add more info. Like noone can help at this information. If possible add the repo link.
Do you use GitHub actions to serve the website? May be then check your config file(.yml).