This commit is contained in:
@ -15,7 +15,7 @@ steps:
|
||||
|
||||
# 第二步:上传静态资源到腾讯云COS
|
||||
- name: upload-to-cos
|
||||
image: tencentcloudcli/coscmd:latest
|
||||
image: tencentyun/drone-cos
|
||||
environment:
|
||||
COS_SECRET_ID:
|
||||
from_secret: cos_secret_id
|
||||
@ -40,7 +40,7 @@ steps:
|
||||
|
||||
# 第三步:部署到服务器
|
||||
- name: deploy
|
||||
image: ccr.ccs.tencentyun.com/dronestock/cos
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
from_secret: server_host
|
||||
|
Reference in New Issue
Block a user