diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 73d00da..a9e7a08 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,7 +24,7 @@ env: jobs: # ==================== 测试环境部署 ==================== deploy-test: - runs-on: ubuntu-latest + runs-on: host if: github.event_name == 'push' || github.inputs.environment == 'test' steps: - name: Deploy to test environment @@ -41,7 +41,7 @@ jobs: # ==================== 正式环境部署(手动) ==================== deploy-prod: - runs-on: ubuntu-latest + runs-on: host if: github.inputs.environment == 'prod' steps: - name: Deploy to production