51.docker-deploy-copy.sh 580 B

123456789101112131415161718192021222324252627
  1. set -e
  2. #---------------------------------------------------------------------
  3. # args
  4. args_="
  5. export basePath=/root/temp/svn
  6. # "
  7. #---------------------------------------------------------------------
  8. #2
  9. publishPath="$basePath/Publish/release/release/Station(net6.0)"
  10. deployPath="$basePath/Publish/release/release/docker-deploy"
  11. #----------------------------------------------
  12. #3 copy dir
  13. if [ -d "$basePath/Publish/ReleaseFile/docker-deploy" ]; then
  14. echo "51.docker-deploy-copy.sh -> copy dir"
  15. \cp -rf "$basePath/Publish/ReleaseFile/docker-deploy/." "$deployPath"
  16. fi