fix(CI): 测试调整环境变量注入方式
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6f8b04530d
commit
c099e90c94
|
|
@ -28,6 +28,9 @@ steps:
|
|||
- name: deploy
|
||||
pull: if-not-exists
|
||||
image: appleboy/drone-ssh
|
||||
environment:
|
||||
Connection:
|
||||
from_secret: connection
|
||||
settings:
|
||||
host: 192.168.31.225
|
||||
port: 22
|
||||
|
|
@ -35,6 +38,7 @@ steps:
|
|||
password: dronepw
|
||||
command_timeout: 2m
|
||||
script:
|
||||
- echo $Connection
|
||||
- docker pull 192.168.31.104:8082/tiamo/user-point-management
|
||||
- docker image prune -f
|
||||
- docker stop user-point-management
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@
|
|||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"Connection:UserPointManagement": "Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo;"
|
||||
},
|
||||
"applicationUrl": "https://localhost:5001;http://localhost:5000"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,5 @@
|
|||
"MenuRender": true,
|
||||
"MenuHeaderRender": true,
|
||||
"HeaderHeight": 48
|
||||
},
|
||||
"Connection:UserPointManagement": "Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo;"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue