diff --git a/.trustie-pipeline.yml b/.trustie-pipeline.yml index c6020e6..61c8ec2 100644 --- a/.trustie-pipeline.yml +++ b/.trustie-pipeline.yml @@ -12,6 +12,7 @@ steps: # host、username、password可在参数管理中配置 - name: 远程主机部署 image: appleboy/drone-ssh + pull: if-not-exists # 添加此行,只在本地没有镜像时才拉取 settings: host: from_secret: deploy_ip