fix drone config 4
This commit is contained in:
parent
acf13bb6b8
commit
530d52fddd
|
@ -34,7 +34,7 @@ steps:
|
||||||
- git checkout ${DRONE_BRANCH}
|
- git checkout ${DRONE_BRANCH}
|
||||||
- git reset --hard ${DRONE_COMMIT}
|
- git reset --hard ${DRONE_COMMIT}
|
||||||
- docker-compose down
|
- docker-compose down
|
||||||
- docker-compose up -d --build
|
- docker-compose up -d --build --force-recreate
|
||||||
- docker image prune -f
|
- docker image prune -f
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
|
@ -95,7 +95,6 @@ steps:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
gitea_base_url:
|
gitea_base_url:
|
||||||
from_secret: gitea_base_url
|
from_secret: gitea_base_url
|
||||||
comment_title: "部署 sit 环境失败"
|
|
||||||
comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境失败"
|
comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境失败"
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
|
@ -115,7 +114,6 @@ steps:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
gitea_base_url:
|
gitea_base_url:
|
||||||
from_secret: gitea_base_url
|
from_secret: gitea_base_url
|
||||||
comment_title: "部署 sit 环境成功"
|
|
||||||
comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境成功"
|
comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境成功"
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
|
|
Loading…
Reference in New Issue