feifan-business.sh 287 B

12345678910
  1. #!/usr/bin/env bash
  2. cd /data/jenkins_home/workspace/feifan-front-business/dist
  3. pwd
  4. ls
  5. rm -rf /data/projects/feifan/business
  6. cp -r /data/jenkins_home/workspace/feifan-front-business/dist /data/projects/feifan/business
  7. chmod -R 777 /data/projects/feifan/business
  8. nginx -t
  9. nginx -s reload