#!/usr/bin/env bash
cd /data/jenkins_home/workspace/feifan-front-app/unpackage/dist/build/h5
pwd
ls
rm -rf /data/projects/feifan/app
cp -r /data/jenkins_home/workspace/feifan-front-app/unpackage/dist/build/h5 /data/projects/feifan/app
chmod -R 777 /data/projects/feifan/app

nginx -t
nginx -s reload