xt.sh 279 B

123456789101112131415161718
  1. #!/bin/bash
  2. echo "脚本开始工作"
  3. echo "删除dist下文件"
  4. rm -rf ./dist/*
  5. echo "复制文件"
  6. # cp -rfv ../nb-front/dist/* ./dist/
  7. cp -rfv ../xt-front-2024/dist/* ./dist/
  8. echo "提交文件"
  9. git add ./ && git commit -m"update files" && git push
  10. echo "脚本结束"