Trouble updating React Native website on GitHub Pages

Hi everyone, I have a website made with React Native, and have deployed it successfully on GitHub Pages. However, the repo has 2 branches: main, and gh-pages. I can push changes to the main branch, but for the gh-pages branch, I have to delete the branch then re-deploy it for every update. The update will not show on my website if I don’t do it this way.

Is there a more effective way to update the gh-pages branch?

Here’s the repo: GitHub - lxghan/swj