This commit is contained in:
@ -42,9 +42,9 @@ steps:
|
|||||||
# from_secret: server_ssh_key
|
# from_secret: server_ssh_key
|
||||||
port: 22
|
port: 22
|
||||||
script:
|
script:
|
||||||
- rm -rf /www/wwwroot/show.zguiy.com/test/*
|
- rm -rf /www/wwwroot/show.zguiy.com/*
|
||||||
- mkdir -p /www/wwwroot/show.zguiy.com/test/
|
- mkdir -p /www/wwwroot/show.zguiy.com/
|
||||||
- chmod 755 /www/wwwroot/show.zguiy.com/test/
|
- chmod 755 /www/wwwroot/show.zguiy.com/
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
@ -66,7 +66,7 @@ steps:
|
|||||||
# from_secret: server_ssh_key
|
# from_secret: server_ssh_key
|
||||||
port: 22
|
port: 22
|
||||||
source: dist/*
|
source: dist/*
|
||||||
target: /www/wwwroot/show.zguiy.com/test/
|
target: /www/wwwroot/show.zguiy.com/
|
||||||
strip_components: 1
|
strip_components: 1
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
Reference in New Issue
Block a user