I have always wondered why I have to run
However, there are problems with GitHub Pages; namely, new pages doesn't always update promptly after repeated deployment. There are these kind of problems in Heroku / Netlify / Now.sh.
Lately, I have one another way for Netlify, which is Netlify CLI deploy, so I just pust
"deploy": "yarn build && netlify deploy --dir dist" in my
package.json. Netlify also offers a way to test a real website online (with hash, so that the name doesn't collide).