Skip to content

Commit 105e6e0

Browse files
committed
Add files via upload
1 parent d207586 commit 105e6e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm_run_dev() {
1414
printf "\n"
1515
read -p "${BOLD}npm run dev? (Y/n)${RESET}" yn
1616
case ${yn} in
17-
[Yy]* ) cd docs && npm run dev; break;;
17+
[Yy]* ) cd docs && npm run dev && cd -; break;;
1818
[Nn]* ) return 0;;
1919
* ) echo "Please answer yes or no.";;
2020
esac
@@ -29,7 +29,7 @@ npm_run_build() {
2929
printf "\n"
3030
read -p "${BOLD}npm run build? (Y/n)${RESET}" yn
3131
case ${yn} in
32-
[Yy]* ) npm run build && cd -; break;;
32+
[Yy]* ) cd docs && npm run build && cd -; break;;
3333
[Nn]* ) return 0;;
3434
* ) echo "Please answer yes or no.";;
3535
esac

0 commit comments

Comments
 (0)