develop #2

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

View File

@ -76,8 +76,7 @@ steps:
- git fetch
- git checkout ${DRONE_BRANCH}
- git reset --hard ${DRONE_COMMIT}
- docker-compose down
- docker-compose up -d --build --force-recreate
- docker-compose down && docker-compose build --no-cache && docker-compose up -d
- docker image prune -f
when:
event:
@ -88,42 +87,6 @@ steps:
- opened
- reopened
- synchronized
- name: gitea-pr-comment-failure
image: tsakidev/giteacomment:1.1.1
settings:
gitea_token:
from_secret: gitea_token
gitea_base_url: ${DRONE_REPO_LINK}
comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境失败"
when:
status:
- failure
event:
include:
- pull_request
action:
include:
- opened
- reopened
- synchronized
- name: gitea-pr-comment-success
image: tsakidev/giteacomment:1.1.1
settings:
gitea_token:
from_secret: gitea_token
gitea_base_url: ${DRONE_REPO_LINK}
comment: "${DRONE_PULL_REQUEST_TITLE} 部署 sit 环境成功"
when:
status:
- success
event:
include:
- pull_request
action:
include:
- opened
- reopened
- synchronized