diff --git a/.drone.yml b/.drone.yml index 293ec51..d18728a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,9 +42,9 @@ steps: # from_secret: server_ssh_key port: 22 script: - - rm -rf /www/wwwroot/show.zguiy.com/test/* - - mkdir -p /www/wwwroot/show.zguiy.com/test/ - - chmod 755 /www/wwwroot/show.zguiy.com/test/ + - rm -rf /www/wwwroot/show.zguiy.com/* + - mkdir -p /www/wwwroot/show.zguiy.com/ + - chmod 755 /www/wwwroot/show.zguiy.com/ when: branch: - main @@ -66,7 +66,7 @@ steps: # from_secret: server_ssh_key port: 22 source: dist/* - target: /www/wwwroot/show.zguiy.com/test/ + target: /www/wwwroot/show.zguiy.com/ strip_components: 1 when: branch: