From 8a11774d9864c72c5a8c6ea2266258a5f1718a5e Mon Sep 17 00:00:00 2001 From: Kai Date: Tue, 25 Mar 2025 15:58:20 +0800 Subject: [PATCH] chore: switch runner type in test.yaml from ubuntu-latest to self-hosted for both build and deploy jobs --- .github/workflows/test.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3274083..ebc54f2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,7 +6,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Checkout Code uses: http://gitea.xkkxyy.com/actions/checkout@main @@ -16,10 +16,9 @@ jobs: continue-on-error: true deploy: - runs-on: ubuntu-latest + runs-on: self-hosted needs: build steps: - name: Deploy to Test run: cd /opt/docker && docker compose -f docker-compose.yaml -f my-django/docker-compose.yaml up -d - # run: echo "1111111111111111" && exit && echo "aaaaaaaaaaaaaaaa"