deploy-single.sh 329 B

12345678910111213
  1. #!/bin/bash
  2. echo "user name = ${USER}"
  3. SHELL_FOLDER=$(cd "$(dirname "$0")";pwd)
  4. echo "PWD:"$SHELL_FOLDER
  5. npm -v
  6. node -v
  7. echo "yarn install start"
  8. yarn install
  9. echo "yarn install end"
  10. yarn run test:merchant
  11. echo "yarn run test:merchant 完成"
  12. \cp -rf dist /opt/wfg/merchant/dist
  13. echo "\cp -rf dist /opt/wfg/merchant/dist 完成"