stages:
- build
build:
stage: build
only:
- master
script:
- cp -r dist/* /mnt/myproj/www
tags:
- testTag
报错:
$ cp -r dist/* /mnt/myproj/www
cp: target '/mnt/myproj/www' is not a directory
目标主机存在/mnt/myproj/www,不知道什么原因
stages:
- build
build:
stage: build
only:
- master
script:
- cp -r dist/* /mnt/myproj/www
tags:
- testTag
报错:
$ cp -r dist/* /mnt/myproj/www
cp: target '/mnt/myproj/www' is not a directory
目标主机存在/mnt/myproj/www,不知道什么原因
10 回答11.1k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3.1k 阅读✓ 已解决
2 回答2.7k 阅读✓ 已解决
3 回答5.1k 阅读✓ 已解决
3 回答1.8k 阅读✓ 已解决
4 回答2.4k 阅读✓ 已解决
target '/mnt/myproj/www' is not a directory
告诉你这个/mnt/myproj/www
不是目录。你这个拷贝期望最后一个目标是目录