Skip to content

Deploying to GitHub Pages

ZachTRice edited this page Oct 6, 2019 · 2 revisions

After a release branch has been merged into master and a release has been created:

git checkout master
npm install
rm -rf dist
git worktree remove dist
git worktree add dist gh-pages
npm run build
cd dist
echo "gitdir: C:/Users/zachtrice/projects/bootpack/.git/worktrees/dist" >> .git
git add .
git commit -m "vX.X.X"
git push origin gh-pages
Clone this wiki locally