develop #2

Merged
Bryant merged 15 commits from develop into main 2023-07-09 05:54:34 +08:00
1 changed files with 5 additions and 3 deletions
Showing only changes of commit acf13bb6b8 - Show all commits

View File

@ -77,7 +77,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:
@ -93,7 +93,8 @@ steps:
settings: settings:
gitea_token: gitea_token:
from_secret: gitea_token from_secret: gitea_token
gitea_base_url: https://gitea.bearcatlog.com gitea_base_url:
from_secret: gitea_base_url
comment_title: "部署 sit 环境失败" comment_title: "部署 sit 环境失败"
comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境失败" comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境失败"
when: when:
@ -112,7 +113,8 @@ steps:
settings: settings:
gitea_token: gitea_token:
from_secret: gitea_token from_secret: gitea_token
gitea_base_url: https://gitea.bearcatlog.com gitea_base_url:
from_secret: gitea_base_url
comment_title: "部署 sit 环境成功" comment_title: "部署 sit 环境成功"
comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境成功" comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境成功"
when: when: