fix: del
continuous-integration/drone/tag Build is passing Details

develop 12
Unshift 2025-09-25 15:42:10 +08:00
parent 34ed3df46b
commit 5c6edcc4de
1 changed files with 0 additions and 23 deletions

View File

@ -18,29 +18,6 @@ steps:
pull: if-not-exists
commands:
- echo "不互补聚会还包括保护客户贝克汉姆还包括高等教育封建时代风采发"
- name: deploy-pull-project
depends_on:
- deploy-push-images
image: appleboy/drone-ssh
pull: if-not-exists
settings:
host: 106.15.233.223
user:
from_secret: ssh_username
password:
from_secret: ssh_password
command_timeout: 5m
port: 22
script:
- echo ====开始部署=======
- docker pull gong921123/hyperfa:${DRONE_TAG}
- docker stop $(docker ps | grep hyperf | awk '{print $1}')
- docker rm $(docker ps | grep hyperf | awk '{print $1}')
- docker rmi $(docker images | grep gong921123/hyperf | awk '{print $3}')
- docker rmi $(docker images | grep "<none>" | awk '{print $3}')
- docker run -itd --name hyperf -p 8001:8001 -v /var/projects:/var/www -v /usr/local/docker/vloumn_nginx:/etc/nginx/conf.d
- -v /etc/hosts:/etc/hosts --privileged=true gong921123/hyperfa:${DRONE_TAG}
- echo ====部署成功=======
trigger: