Running grunt build
is important as without it dist
directory is not created. Also changes will appear on gh-pages only after they are added and pushed to the subtree.
- Remove
dist
from.gitignore
file - Run
grunt build
in console - After the project is built the dist directory needs to be added to the GitHub. Run this command in console:
git add dist && git commit -m "Initial dist subtree commit"
- And then push the subtree to the gh-pages branch:
git subtree push --prefix dist origin gh-pages