diff --git a/.drone.yml b/.drone.yml index 6d6e4a7..d6fb8a9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ steps: commands: - go env -w GOPROXY=https://goproxy.cn,direct - go mod download - - CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o deploy/api2gpt-mid + - CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o deploy/api2gpt-mid - name: sync-file image: drillster/drone-rsync settings: @@ -18,7 +18,7 @@ steps: hosts: # 多个ip使用,隔开 from_secret: ssh_host # 来源目录 - source: /deplpy/ + source: deplpy/ # 目标服务器目录 target: /mnt/data/wwwroot/api2gpt/mid script: