ci(deploy): 更新部署工作流并调整数据库端口映射- 移除 deploy.master.yml 中下载和使用 drone-scp 的步骤 #44

Merged
gewuyou merged 1 commits from dev into master 2025-05-11 12:29:31 +08:00
2 changed files with 1 additions and 10 deletions

View File

@ -76,15 +76,8 @@ jobs:
uses: ${{env.JCNC_GITEA_URL}}/gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper # 使用项目自带的gradle-wrapper
- name: 🔽 Download drone-scp
run: |
curl -L "https://github.moeyy.xyz/https://github.com/appleboy/drone-scp/releases/download/v1.8.0/drone-scp-1.8.0-linux-amd64" \
-o drone-scp
chmod +x drone-scp
- name: 📦 Copy Compose File to Internal Server
uses: ${{env.JCNC_GITEA_URL}}/appleboy/scp-action@v1
env:
DRONE_SCP_BINARY: ./drone-scp
with:
host: ${{ env.INTERNAL_SERVER_HOST }}
port: $INTERNAL_SERVER_PROT
@ -94,8 +87,6 @@ jobs:
target: "/home/luke/deploy/llmx/"
- name: 📦 Copy Compose File to Singapore Server
uses: ${{env.JCNC_GITEA_URL}}/appleboy/scp-action@v1
env:
DRONE_SCP_BINARY: ./drone-scp
with:
host: $SINGAPORE_SERVER_HOST
port: $SSH_PROT

View File

@ -16,7 +16,7 @@ services:
container_name: llmx-database
restart: always
ports:
- "9052:5432"
- "5432:5432"
networks:
- llmx-net-master
environment: