github pages doesn’t update for my vite react project …
i made changes to my code and pushed it
then i tried this solution from stackoverflow
used “git push origin :gh-pages” to delete gh pages branch then set it again using
“npm run deploy” and still got the old version of my code
What happens if you remove the deploy.sh script, run the build script command, then run the deploy script command?
If you want to use “GitHub Actions” look at the “Deploying with GitHub Actions and a named script” section at the bottom of the gh-pages package docs.
Edit: I guess you got the action from the Vite docs. That should work I would think but I don’t think that is meant to be used with the gh-pages package.
Personally, I’d suggest using Netlify, Vercel, or Surge.sh