diff --git a/.gitignore b/.gitignore index 62bcf500e6..65041d8183 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ demo storybook-dist package-lock.json .cache/ +pages/ diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 1d8d2e9dd7..bbac01266b 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -8,4 +8,7 @@ npm run build-all # adding package-lock.json to every package after npm install rm -rf **/package-lock.json +# checkout master to get out of detached HEAD state +git checkout master + lerna publish --conventional-commits --yes --github-release --contents dist