Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions azure-pipelines-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- dev

pool:
vmImage: ubuntu-latest


stages:
- stage: Deploy
displayName: 部署到服务器
jobs:
- deployment: VMDeploy
displayName: 部署到Uni服务器
environment:
name: uni-tencent
resourceType: VirtualMachine
strategy:
runOnce:
deploy:
steps:
- checkout: self
fetchDepth: 1
displayName: 切换到目标仓库分支
- bash: |-
docker compose -f docker-compose.yml up --build -d
env:
DeployPort: 9090
displayName: 运行 docker compose 命令

4 changes: 2 additions & 2 deletions conf/Config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dbConfig: # 数据库 配置 信息
username: "root" # "itg_srv"
username: "itg_srv" # "itg_srv"
password: "20050901@mysqlHrx"
hostname: "127.0.0.1"
hostname: "101.35.98.16"
port: 3306
dbname: "itg_doc"
charset: "utf8mb4"
Expand Down
1 change: 1 addition & 0 deletions test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is a test