测试
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
孟凡懂 2022-06-29 11:54:27 +08:00
parent 635690e8b8
commit b3e3fdbc74

View File

@ -4,8 +4,7 @@ type: ssh
name: "服务器部署" name: "服务器部署"
server: server:
host: host: 110.40.192.42:8022
from_secret: SSH_SERVER
user: root user: root
ssh_key: ssh_key:
from_secret: SSH_KEY from_secret: SSH_KEY
@ -13,25 +12,27 @@ server:
clone: clone:
disable: true disable: true
environment:
WEBROOT:
from_secret: WEBROOT
GIT_NAME:
from_secret: GIT_NAME
GIT_PASSWD:
from_secret: GIT_PASSWD
MYSQLHOST:
from_secret: MYSQLHOST
MYSQLUSER:
from_secret: MYSQLUSER
MYSQLNAME:
from_secret: MYSQLNAME
MYSQLPASSWD:
from_secret: MYSQLPASSWD
MYSQLPORT:
from_secret: MYSQLPORT
steps: steps:
- name: "Git 设置" - name: "Git 设置"
environment:
WEBROOT:
from_secret: WEBROOT
GIT_NAME:
from_secret: GIT_NAME
GIT_PASSWD:
from_secret: GIT_PASSWD
MYSQLHOST:
from_secret: MYSQLHOST
MYSQLUSER:
from_secret: MYSQLUSER
MYSQLNAME:
from_secret: MYSQLNAME
MYSQLPASSWD:
from_secret: MYSQLPASSWD
MYSQLPORT:
from_secret: MYSQLPORT
commands: commands:
- env - env
- export WEBROOT=$WEBROOT - export WEBROOT=$WEBROOT