We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d207586 commit 105e6e0Copy full SHA for 105e6e0
deploy.sh
@@ -14,7 +14,7 @@ npm_run_dev() {
14
printf "\n"
15
read -p "${BOLD}npm run dev? (Y/n)${RESET}" yn
16
case ${yn} in
17
- [Yy]* ) cd docs && npm run dev; break;;
+ [Yy]* ) cd docs && npm run dev && cd -; break;;
18
[Nn]* ) return 0;;
19
* ) echo "Please answer yes or no.";;
20
esac
@@ -29,7 +29,7 @@ npm_run_build() {
29
30
read -p "${BOLD}npm run build? (Y/n)${RESET}" yn
31
32
- [Yy]* ) npm run build && cd -; break;;
+ [Yy]* ) cd docs && npm run build && cd -; break;;
33
34
35
0 commit comments