Add flag to avoid CI build on stage commits and remove dependency on build-gh-pages