feifan-app.sh 299 B

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