This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user