feifan-admin.sh 272 B

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