git init projectgit config --global user.name "Tim Berglund"git config --global user.email "tlberglund@github.com"git statusgit add <file>- Diff
git diff
It's quite straightforward to use GitLab Pages to deploy a Storybook instance per branch (and remove it whenever the branch will be removed). And yeah, it's irony to document this in a GitHub Gist 😅
You just need a .gitlab-ci.yml like this one:
stages:
- setup
- build-and-test
- deployment
- pages