Skip to content

Instantly share code, notes, and snippets.

@vladyslav-dotsenko
Created January 13, 2022 21:45
Show Gist options
  • Save vladyslav-dotsenko/444144da1c351b2ac1a30d03e9d9a1c2 to your computer and use it in GitHub Desktop.
Save vladyslav-dotsenko/444144da1c351b2ac1a30d03e9d9a1c2 to your computer and use it in GitHub Desktop.
git checkout master &&
git branch -D gh-pages &&
git branch gh-pages &&
git checkout gh-pages &&
yarn install &&
yarn build &&
rm -rf node_modules public README.md src yarn.lock build-gh-pages.sh &&
mv build/* ./ &&
rm -rf build &&
git add . &&
git commit -a -m 'release. gh-pages build' &&
git push --force -u origin gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment