Closed werewolf666 closed 1 year ago
Please ignore the file using !
symbol. Try the following config.
target: /data-test/web/${DRONE_REPO_NAME}
source:
- ./deploy
- !./deploy/docker-compose/docker-compose.yml
- !./deploy/docker-compose/restart.sh
- !./deploy/docker-compose/stop.sh
strip_components: 3
desc:
source file list:
I try 2 ways,the problem still alive.
first way: i compress them to deploy.tar.gz as a one file ,then configure .drone.yaml,like this the .drone.yaml setting:
in target dir,the name is deploy.tar.gz is exists.but everytime overwrited by drone-scp.
second way: not compress them like this
in target dir,3 files is exists,but everytime overwrited by drone-scp to.
so,is my usage is wrong or other questions?
think you very much.