ci: 使用host模式运行runner
Knowledge Base Deploy / deploy-test (push) Has been cancelled
Knowledge Base Deploy / deploy-prod (push) Has been cancelled

This commit is contained in:
2026-02-17 22:47:05 +08:00
parent bf6ece0ce9
commit 4c739f7071
+2 -2
View File
@@ -24,7 +24,7 @@ env:
jobs: jobs:
# ==================== 测试环境部署 ==================== # ==================== 测试环境部署 ====================
deploy-test: deploy-test:
runs-on: ubuntu-latest runs-on: host
if: github.event_name == 'push' || github.inputs.environment == 'test' if: github.event_name == 'push' || github.inputs.environment == 'test'
steps: steps:
- name: Deploy to test environment - name: Deploy to test environment
@@ -41,7 +41,7 @@ jobs:
# ==================== 正式环境部署(手动) ==================== # ==================== 正式环境部署(手动) ====================
deploy-prod: deploy-prod:
runs-on: ubuntu-latest runs-on: host
if: github.inputs.environment == 'prod' if: github.inputs.environment == 'prod'
steps: steps:
- name: Deploy to production - name: Deploy to production